[rabbitmq-discuss] handleShutdownSignal consumer callback

Michael Klishin michael.s.klishin at gmail.com
Thu Feb 13 15:41:39 GMT 2014

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.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140213/69a8f118/attachment.html>

More information about the rabbitmq-discuss mailing list