[rabbitmq-discuss] Reading messages without acking them

Lowell.Boggs at emc.com Lowell.Boggs at emc.com
Tue Jul 26 14:58:28 BST 2011


Thanks Matthias -- especially for that tidbit about sharing the prefetch across the whole channel!

Lowell 

-----Original Message-----
From: Matthias Radestock [mailto:matthias at rabbitmq.com] 
Sent: Tuesday, July 26, 2011 5:44 AM
To: Boggs Jr., Lowell
Cc: rabbitmq-discuss at lists.rabbitmq.com
Subject: Re: [rabbitmq-discuss] Reading messages without acking them

Lowell,

On 22/07/11 22:34, Lowell.Boggs at emc.com wrote:
> To extend my previous question, if I set the prefetch count to 10 but
> there is only 1 message in the buffer, and if I read the message but do
> not ack it, will I be able to read up to 9 messages later when they show
> up?

When you say 'buffer' do you mean 'queue'? If so, yes.

On a related note, the prefetch count is associated with the channel, so 
it can be 'shared' when consuming from multiple queues on the channel.

Regards,

Matthias.



More information about the rabbitmq-discuss mailing list