[rabbitmq-discuss] Can client consume a number of messages once?

Alexandru Scvorţov alexandru at rabbitmq.com
Wed Jul 6 14:17:52 BST 2011


Hi,

You probably want to consume (rather than get) messages and set
basic.qos.

Have a look at QueueingConsumer which handles getting multiple messages
from the server nicely and at basicQos which allows you to set how many
messages to get in advance.

Cheers,
Alex

On Wed, Jul 06, 2011 at 09:02:36PM +0800, yaohui wrote:
> hi ,
> 
> 
> Is there a mehod ( ex, in java client) that can consume a number of messages once , but ont one by one ?
> 
> 
> thanks.

> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss



More information about the rabbitmq-discuss mailing list