[rabbitmq-discuss] handleShutdownSignal consumer callback

cw storm cwstorm at gmail.com
Thu Feb 13 16:00:38 GMT 2014


MK,

Not sure I understand when you say "If your consumers have some state 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?


On Thu, Feb 13, 2014 at 10:41 AM, Michael Klishin <
michael.s.klishin at gmail.com> wrote:

>
> 2014-02-13 19:10 GMT+04:00 cw storm <cwstorm at gmail.com>:
>
> 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".
>
>
> Start with handlers for connection and channel shutdown. If your consumers
> have some state
> that needs to be reset, handleShutdownSignal should at least do that.
>
> --
> MK
>
> http://github.com/michaelklishin
> http://twitter.com/michaelklishin
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140213/d5f4d3d9/attachment.html>


More information about the rabbitmq-discuss mailing list