Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Queue names longer than 255 characters should be rejected early #72

Closed
garyrussell opened this issue Jun 28, 2015 · 2 comments
Closed

Comments

@garyrussell
Copy link
Contributor

See https://groups.google.com/forum/#!topic/rabbitmq-users/0i22nvdfP-M

When a queue name exceeds 255 chars, an IllegalArgumentException is thrown but the channel is not closed; the next operation on the channel hangs.

@garyrussell garyrussell changed the title Channel Hangs After declareQueue Illegal Argument Channel Hangs After queueDeclare Illegal Argument Jun 28, 2015
@michaelklishin michaelklishin self-assigned this Jun 28, 2015
@michaelklishin michaelklishin added this to the 3.5.4 milestone Jun 28, 2015
@michaelklishin
Copy link
Member

So sounds like we should reject names longer than the spec-dictated limit and not send anything, so the channel remains open. How does that sound @garyrussell?

@garyrussell
Copy link
Contributor Author

Yes, that would work - detect the illegal argument sooner.

@michaelklishin michaelklishin changed the title Channel Hangs After queueDeclare Illegal Argument Queue names longer than 255 characters should be rejected early Jun 28, 2015
stream-iori pushed a commit to stream-iori/rabbitmq-java-client that referenced this issue Mar 20, 2022
focbenz added a commit to focbenz/rabbitmq-java-client that referenced this issue May 6, 2022
Following [PR rabbitmq#72](rabbitmq#772) shortened the Apache License, Version 2.0 to "AL":

The Apache License, 2.0 should be abbreviated as AL instead of ASL. (https://www.apache.org/licenses/LICENSE-2.0)

Only the version 1.1 was known as Apache Software License 1.1, however, AL 2.0 can also be used for non-software. To avoid any confusion (e.g. in downstream licence checks), the abbreviation should be kept consistent.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants