<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>:<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><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.<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>
</div></div>