<div dir="ltr">Hello,<div><br></div><div>I understand that in the event of a master queue going down, a consumer cancel notification will be sent to all consumers. �Upon receiving the notification, the consumer can re-consume from the queue (the newly promoted master queue of course).</div>
<div><br></div><div>I have a consumer that is a subclass of the Java DefaultConsumer. �I&#39;m having trouble figuring out exactly how to reconsume from the queue. �Whenever I try to do anything with the channel in my &quot;handleCancel&quot; method implementation, it blocks forever. �I&#39;m guessing there is a lock on the channel while I&#39;m in that method, and that lock that prevents me from redeclaring queues or consuming from them? �It seems, however, I can&#39;t even create a new channel when I&#39;m in that &quot;handleCancel&quot; method.</div>
<div><br></div><div>What is the recommended way for reconsuming? �Do I need to spawn another thread to do it asynchronously? �That doesn&#39;t seem right, but I&#39;m out of ideas... Or am I missing something really obvious? �I feel like that is probably more likely. ;-)</div>
<div><br></div><div>Thanks for any pointers!</div><div>Chris</div></div>