[rabbitmq-discuss] Best way to subscribe-unsubscribe-subscribe
mklishin at gopivotal.com
Thu Aug 22 10:08:39 BST 2013
> My code successfully reads first messages from both A and B queues, but third time (second read from A) it stays at line
> var ea = (BasicDeliverEventArgs) _basicConsumer.Queue.Dequeue();
> and nothing happens.
Just to clarify:
this particular behavior is likely due to the following: both messages in A were already delivered,
and take off the (internal to the client) linked queue, so subsequent invocations
will block the caller until a new delivery arrives.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
More information about the rabbitmq-discuss