[rabbitmq-discuss] Query on bulk acknowledgement - For both Publisher confirms and Consumer Acknowledgement

Michael Bridgen mikeb at squaremobius.net
Mon Aug 26 17:49:17 BST 2013

On 26 August 2013 17:37, Michael Klishin <mklishin at gopivotal.com> wrote:
> Priyanki Vashi:
>> I have learnt from rabbitmq site that multiple flag in 'basic.ack' method, controls single message acknowledgement or multiple acknowledgement.
>> I could set 'multiple' to True in basic.ack method on consumer side but how to check that consumer is really acknowledging multiple messages and also where & how to configure message count value? (I mean is it possible to have only one ack for a group of messages received by consumer instead of individual ack for every message)
>> In my wireshark traces, I see multiple is set to 'True' in 'basic.ack' method, which is sent from Consumer to Server but not sure weather it's really working or not  since it shows no difference in behavior in comparison to multiple to false. (I have tracked this as per delivery-tag value).
> basic.ack with multiple = true will acknowledge all outstanding (unacknowledged) messages.

Not quite true. basic.ack with multiple = true, *and* delivery-tag =
0, will acknowledge all outstanding messages (on the channel).

More information about the rabbitmq-discuss mailing list