[rabbitmq-discuss] rabbit MQ Consumer.nextdelivery method consumes all messages and returns only single message

Simon MacMullen simon at rabbitmq.com
Thu Mar 8 11:14:34 GMT 2012


Use basic.get to pull messages down one at a time, or use basic.qos with 
acks to limit the number of messages RabbitMQ will send to your consumer.

Cheers, Simon

On 08/03/12 08:26, Vinay Prakash Dwivedi wrote:
> Hi
>
> I am using RabbitMq
> when i read messages from consumer.nextdelivery() method , it consumes
> all messages and give me a single message
>
> all my other messages got lost
>
> is there any method to get the message one by one
>
> Sun-> openMQ : provides readmessage method which gives message one by one
>
> if anyone have the solution let me know
>
> Reagrds
>
> Vinay prakash dwivedi
>
>
>
>
>
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss


-- 
Simon MacMullen
RabbitMQ, VMware


More information about the rabbitmq-discuss mailing list