[rabbitmq-discuss] Reading messages without acking them

Matthias Radestock matthias at rabbitmq.com
Tue Jul 26 11:43:48 BST 2011


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