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

Michael Klishin michael.s.klishin at gmail.com
Sun Feb 16 16:18:12 GMT 2014


2014-02-16 cw storm <cwstorm at gmail.com>:

> I was asking which where is the best place to put the reconnect logic,
> connection shutdown listener or the consumer callback
> "handleShutDownSignal".



Connection's shutdown listener. See
https://github.com/rabbitmq/rabbitmq-java-client/blob/bug14587/src/com/rabbitmq/client/impl/recovery/AutorecoveringConnection.java#L336
-- 
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/2c1f2edd/attachment.html>


More information about the rabbitmq-discuss mailing list