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

Limit the producer's message routingKey to 1 #17

Closed
KinaneD opened this issue Jan 13, 2017 · 0 comments · Fixed by #15
Closed

Limit the producer's message routingKey to 1 #17

KinaneD opened this issue Jan 13, 2017 · 0 comments · Fixed by #15

Comments

@KinaneD
Copy link
Member

KinaneD commented Jan 13, 2017

According to rbmq ref card's queue_bind: "A server MUST not deliver the same message more than once to a queue, even if the queue has multiple bindings that match the message."

That can be violated if a message has been published with more then one routingKey, e.g. ['validKey', null], this message will be delivered twice to the queue with bindingKey = to validKey.
Since null will publish message to all listening queues regardless of their bindingKeys.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant