[rabbitmq-discuss] Advice on where to reset connection and channel
cw storm
cwstorm at gmail.com
Sun Feb 16 19:00:10 GMT 2014
MK,
In interested in the isInitiatedByApplication() method. If I force the
connection to close via the console, would isInitiatedByApplication() be
true?
On Sun, Feb 16, 2014 at 11:18 AM, Michael Klishin <
michael.s.klishin at gmail.com> wrote:
> 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
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140216/120568af/attachment.html>
More information about the rabbitmq-discuss
mailing list