[rabbitmq-discuss] Read all, ack later?
mklishin at gopivotal.com
Mon Nov 11 11:04:59 GMT 2013
On 11 Nov 2013, at 14:52, RocknrollArmy <rocknrollarmy at googlemail.com> wrote:
> is it a valid scenario for RabbitMQ to have a queue with persisted messages, where a consumer first wants to read all messages from the queue,
> but do the ack for all or none of them later on?
basic.ack and basic.nack support acknowledgements of multiple deliveries at once.
Note that that will acknowledge (or reject) all *outstanding* deliveries. You’ll need to know
when it’s time to do so because there may be more messages coming.
Software Engineer, Pivotal/RabbitMQ
More information about the rabbitmq-discuss