[rabbitmq-discuss] Telling clean shutdown from an error-related one

Michael Klishin michael.s.klishin at gmail.com
Wed May 15 21:51:18 BST 2013


I'm investigating an issue report for Langohr:
https://github.com/michaelklishin/langohr/issues/16#issuecomment-17964559

and not entirely sure when SignalShutdownException#isInitiatedByApplication
returns true and if it can really be used to tell a clean shutdown (e.g.
when you
voluntarily close channels).

http://www.rabbitmq.com/api-guide.html does not shed much light on this.

What's the recommended way to detect network errors, channel AND
consumer-level
exceptions vs clean termination?

Thanks.
-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20130516/2428dd36/attachment.htm>


More information about the rabbitmq-discuss mailing list