[rabbitmq-discuss] Handling Consumer Cancel Notifications in Java Client
mklishin at gopivotal.com
Fri Aug 9 08:19:03 BST 2013
> Whenever I try to do anything with the channel in my "handleCancel" method implementation, it blocks forever. I'm guessing there is a lock on the channel while I'm in that method, and that lock that prevents me from redeclaring queues or consuming from them?
There should be no lock that prevents operations from handleCancel.
Can you use VisualVM or jstack to take a thread dump and see what method hangs?
Do you see any alarms mentioned in RabbitMQ log?
Is there a way you can reproduce this issue with a code sample you can post?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
More information about the rabbitmq-discuss