[rabbitmq-discuss] Envelop redeliver question ( clustering ha redelivery question)

Emile Joubert emile at rabbitmq.com
Mon Jul 9 10:27:19 BST 2012


Hi Vikas,

On 08/07/12 20:32, Vikas wrote:
> Why the redelivery value is true when the messages were not even
> attempted to ack by consumer.

If you want limit consumers to only one unacknowledged message at a time
then set the QoS prefetch count to 1:
http://www.rabbitmq.com/amqp-0-9-1-reference.html#basic.qos.prefetch-count

If the prefetch count is not limited then more than one message will
potentially have the redelivered flag set after a connection interruption.


-Emile



More information about the rabbitmq-discuss mailing list