<div dir="ltr">MK,<div><br></div><div>Not sure I understand when you say "<span style="font-family:arial,sans-serif;font-size:13px">If your consumers have some state�</span><span style="font-family:arial,sans-serif;font-size:13px">that needs to be reset,�handleShutdownSignal should at least do that." �Is there a way to test the "handleShutdownSignal" callback? �I would like to see if my code within that block works. �What are handler "connection and channel" shutdown you are referring to?</span></div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 13, 2014 at 10:41 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>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2014-02-13 19:10 GMT+04:00 cw storm <span dir="ltr"><<a href="mailto:cwstorm@gmail.com" target="_blank">cwstorm@gmail.com</a>></span>:<div class="">
<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 wondering if it's necessary or best practice to handle consumer callback service for "handleShutdownSignal". �For basicConsume, I'm handling "handleDelivery", and "handleCancel".</blockquote>


</div></div><br>Start with handlers for connection and channel shutdown. If your consumers have some state<br>that needs to be reset,�handleShutdownSignal should at least do that.<span class="HOEnZb"><font color="#888888"><br clear="all">
<div><br></div>-- <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>_______________________________________________<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>