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

Vikas mvikasetc at gmail.com
Mon Jul 9 12:58:45 BST 2012


Hi Emile ,

Thanks for your reply . I've set QoS prefetch count set to one.

The problem is observed in only one scenario 

Node1 and Node2 are running in cluster ha
Stop Node2
Start Node2
Restart Consumer
All old messages are received with redeliver as true .


Regards
Vikas

Sent from my iPhone

On Jul 9, 2012, at 5:27 AM, Emile Joubert <emile at rabbitmq.com> wrote:

> 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