Skip to content

Conversation

@ansd
Copy link
Member

@ansd ansd commented Sep 12, 2025

There can be at most one consumer per volatile queue instance. This consumer must also have attached on the same channel/session as the creator of the queue.

Prior to this commit, it was possible for clients on other connections or sessions to attach a receiving link to an existing volatile queue name, even though no messages would be delivered.

It's better for RabbitMQ to directly refuse the link at attach time.

There can be at most one consumer per volatile queue instance.
This consumer must also have attached on the same channel/session as the
creator of the queue.

Prior to this commit, it was possible for clients on other
connections or sessions to attach a receiving link to an existing volatile
queue name, even though no messages would be delivered.

It's better for RabbitMQ to directly refuse the link at attach time.
@ansd ansd self-assigned this Sep 12, 2025
@ansd ansd merged commit 5b9f98a into main Sep 12, 2025
568 of 569 checks passed
@ansd ansd deleted the volatile-consumers branch September 12, 2025 11:51
ansd added a commit that referenced this pull request Sep 12, 2025
Disallow multiple consumers on one volatile queue (backport #14528)
@michaelklishin michaelklishin added this to the 4.3.0 milestone Sep 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants