[rabbitmq-discuss] Redelivery to Multiple Consumers

Bell, Paul M. pbell at syncsort.com
Fri Feb 24 23:29:30 GMT 2012


Imagine multiple consumers reading from same queue. It's a fanout exchange so each C is getting a subset of the messages in the queue. In response to a message, C1 starts some long-running task; but C1 does not ACK the message (C1 won't ACK it until the long-running task has finished). Now C1 dies.

As I've learned on this list, after detecting the broken connection between it and C1, the broker will redeliver the consumed yet un-ACKed message.

Is the broker free to redeliver that message to *another* consumer, C2; or will it redeliver only to C1 when it comes back on-line?

Thank you.



The information contained in this message (including any files transmitted with this message) may contain proprietary, trade secret or other  confidential and/or legally privileged information. Any pricing information contained in this message or in any files transmitted with this message is always confidential and cannot be shared with any third parties without prior written approval from Syncsort. This message is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any use, disclosure, copying or distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and/or Syncsort and destroy all copies of this message in your possession, custody or control.

More information about the rabbitmq-discuss mailing list