[rabbitmq-discuss] Is it possible to receive multiple messages then return an ACK to Rabbitmq Server?
Ernest Staszuk
ernest.staszuk at comarch.pl
Mon Aug 20 16:58:11 BST 2012
Yes, it is.
Firstly, you must set prefetch (channel.basicQos) as big as many
messages you want to get before ack.
Secondly, you could call channel.basicAck with multiple flag set to true
(second parameter). That should work.
Regards,
Ernest Staszuk
W dniu 2012-08-20 17:51, johnson pisze:
> Hence, my problem is the following.
> Is it possible to receive multiple messages then return 1 ACK to Rabbitmq Server?
>
> Thanks in
More information about the rabbitmq-discuss
mailing list