[rabbitmq-discuss] BasicQos Multiple msg ack

Simon MacMullen simon at rabbitmq.com
Tue Dec 17 10:42:18 GMT 2013

On 13/12/2013 11:11, Michael Klishin wrote:
> 2013/12/13 Ranjith Venkatesan <ranjith.v at zohocorp.com
> <mailto:ranjith.v at zohocorp.com>> But how to acknowledge for those
> bulk 100 messages?
> channel.basicAck(*???*, true);
> My question is how to get deliveryTag for multiple msgs ?
> See description of the multiple argument:
> http://www.rabbitmq.com/releases/rabbitmq-java-client/current-javadoc/

This link might be more useful:


It says:

> multiple - true to acknowledge all messages up to and including the
> supplied delivery tag; false to acknowledge just the supplied
> delivery tag.

i.e. set the delivery tag to that of the last message received.

Cheers, Simon

More information about the rabbitmq-discuss mailing list