<div dir="ltr">In my "handleCancel", I was able to perform everything related to creating new connection/channel and recreated the queue. However, my basicConsume did not work. Can I not have basicConsumer inside my "handleCancel"?</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Feb 16, 2014 at 1:23 PM, <span dir="ltr"><<a href="mailto:phillip.ho@gmail.com" target="_blank">phillip.ho@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Thanks MK.</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="">On Sun, Feb 16, 2014 at 11:18 AM, Michael Klishin <span dir="ltr"><<a href="mailto:michael.s.klishin@gmail.com" target="_blank">michael.s.klishin@gmail.com</a>></span> wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2014-02-16 cw storm <span dir="ltr"><<a href="mailto:cwstorm@gmail.com" target="_blank">cwstorm@gmail.com</a>></span>:<div>
<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I was asking which where is the best place to put the reconnect logic, connection shutdown listener or the consumer callback "handleShutDownSignal".</blockquote></div></div><br><br><div>Connection's shutdown listener. See</div>
<div><a href="https://github.com/rabbitmq/rabbitmq-java-client/blob/bug14587/src/com/rabbitmq/client/impl/recovery/AutorecoveringConnection.java#L336" target="_blank">https://github.com/rabbitmq/rabbitmq-java-client/blob/bug14587/src/com/rabbitmq/client/impl/recovery/AutorecoveringConnection.java#L336</a><span><font color="#888888"><br>
</font></span></div><span><font color="#888888">-- <br>MK<br><br><a href="http://github.com/michaelklishin" target="_blank">http://github.com/michaelklishin</a><br><a href="http://twitter.com/michaelklishin" target="_blank">http://twitter.com/michaelklishin</a><br>
</font></span></div></div>
<br></div></div><div class="">_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></div></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Regards,<br>Phillip<br><br>************************************************<br>This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail (or the person responsible for delivering this documentto the intended recipient), you are hereby notified that any dissemination, distribution, printing or coping of this e-mail, and anyattachment thereto, is strictly prohibited. If you have received this e-mail in error, please respond to the individual sending the message, and permanently delete the original and any copy of any e-mail and printout thereof.<br>
************************************************
</font></span></div>
<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>