[rabbitmq-discuss] handleShutdownSignal consumer callback
cwstorm at gmail.com
Thu Feb 13 16:00:38 GMT 2014
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.
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss