[rabbitmq-discuss] Acknowledging multiple messages.
Vlad Alexandru Ionescu
vlad at rabbitmq.com
Wed Sep 1 12:05:25 BST 2010
The way it works is that if you set the multiple flag to true, you tell
the broker that you acknowledge all messages /up to and including/ the
message you specify with the delivery tag.
Perhaps worth mentioning that the order of delivery of messages is
There is no way of specifying more than one delivery tag.
On 08/31/2010 12:56 PM, rathi wrote:
> void*basicAck*(long deliveryTag, boolean multiple) throws java.io.IOException
> Acknowledge one or several received messages. Supply the deliveryTag from the|AMQP.Basic.GetOk| <http://www.rabbitmq.com/releases/rabbitmq-java-client/v1.5.1/rabbitmq-java-client-javadoc-1.5.1/com/rabbitmq/client/AMQP.Basic.GetOk.html> or|AMQP.Basic.Deliver| <http://www.rabbitmq.com/releases/rabbitmq-java-client/v1.5.1/rabbitmq-java-client-javadoc-1.5.1/com/rabbitmq/client/AMQP.Basic.Deliver.html> method containing the received message being acknowledged.
> The above method allows to acknowledge multiple messages based on the deliveryTag. But how do we set the same deliveryTag for multiple messages. Don't know
> if my understanding here is right. Please correct me if I am wrong.
> thanks& regards,
> ritesh rathi
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss