[rabbitmq-discuss] consumer.nextDelivery() does not return with a value

Matthew Sackman matthew at rabbitmq.com
Wed Jun 15 12:39:55 BST 2011


On Thu, Jun 09, 2011 at 02:33:23PM +0300, mysurf mail wrote:
> I have two clients
> One does queuedeclare() and queue bind()
> and then the other should  iterates with consumer.nextDelivery()
> 
> I can clearly sea that only after the queuedeclare it is added to the
> list_queues
> and only when I bind - the messages are added to the message count.
> so it seems ok, but -
> 
>  the  consumer.nextDelivery() does not return with value (the application is
> stuck on that line)

How are you actually setting up the consumer? You are calling
channel.basicConsume, yes?

Matthew


More information about the rabbitmq-discuss mailing list