[rabbitmq-discuss] Channel hangs after mirrored queue is promoted to master

Michael Klishin mklishin at gopivotal.com
Tue Aug 20 12:18:04 BST 2013


Michael Klishin:

> Can you take a thread dump and post it here? This sounds like an issue recently fixed in the Java
> client, maybe .NET has it, too.

I can confirm that it is indeed the issue. .NET client does not dispatch consumer methods
(such as basic.cancel) in a thread pool. This means that operations that expect a response
(queue.declare, basic.consume) will block the network I/O thread if executed from
a basic.cancel handler.

To work around this, perform those operations from a newly created thread.
--
MK

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130820/7358780b/attachment.pgp>


More information about the rabbitmq-discuss mailing list