[rabbitmq-discuss] BasicQos Multiple msg ack

Michael Klishin michael.s.klishin at gmail.com
Fri Dec 13 11:11:45 GMT 2013


2013/12/13 Ranjith Venkatesan <ranjith.v at zohocorp.com>

> I am new to RabbitMq. I am experimenting rabbitmq for past two days. In my
> case, I want to fetch 100 messages from queue. It can be accomplished with
> help of *channel.basicQos(100);*.
>

Note that basic.qos only has effect on consumers using basic.consume, not
basic.get.


> 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/
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20131213/50b6095c/attachment.html>


More information about the rabbitmq-discuss mailing list