[rabbitmq-discuss] Advice on where to reset connection and channel

Michael Klishin michael.s.klishin at gmail.com
Sun Feb 16 19:08:07 GMT 2014


2014-02-16 23:00 GMT+04:00 cw storm <cwstorm at gmail.com>:

> If I force the connection to close via the console, would isInitiatedByApplication()
> be true?


No because it is not *your* application that's initiated the shutdown.

If you call Connection#close, then it will be set to true.
-- 
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/20140216/9a395dbe/attachment.html>


More information about the rabbitmq-discuss mailing list