You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When doing a channel.basicConsume() with the no-local flag set, no messages published by this connection should arrive in handleDelivery() of the Consumer.
But is seems that the flag is ignored as it does not make any difference if I set or unset it.
Affected versions: 4.2.0 and 4.2.1 (tested, maybe more)
In my understanding the prints in the handleDelivery() method of the consumer should not be called as the noLocal flag if the basicConsume is set to true.
The text was updated successfully, but these errors were encountered:
jcoeltjen
changed the title
basicConsume with noä-local flag not working as intended
basicConsume with no-local flag not working as intended
Sep 14, 2017
The no-local parameter is not implemented. The value of this parameter is ignored and no attempt is made to prevent a consumer from receiving messages that were published on the same connection.
Add warning to Javadoc that the noLocal flag is not supported by the rabbitmq server.
This is the same as for the immediate flag for publishing.
References rabbitmq#303
When doing a channel.basicConsume() with the no-local flag set, no messages published by this connection should arrive in handleDelivery() of the Consumer.
But is seems that the flag is ignored as it does not make any difference if I set or unset it.
Affected versions: 4.2.0 and 4.2.1 (tested, maybe more)
Minimal example:
In my understanding the prints in the handleDelivery() method of the consumer should not be called as the noLocal flag if the basicConsume is set to true.
The text was updated successfully, but these errors were encountered: