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

phillip.ho at gmail.com phillip.ho at gmail.com
Sun Feb 16 18:23:10 GMT 2014


Thanks MK.


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
>
>


-- 
Regards,
Phillip

************************************************
This e-mail, and any attachments thereto, is intended only for use by the
addressee(s) named herein and may contain legally privileged and/or
confidential information. If you are not the intended recipient of this
e-mail (or the person responsible for delivering this documentto the
intended recipient), you are hereby notified that any dissemination,
distribution, printing or coping of this e-mail, and anyattachment thereto,
is strictly prohibited. If you have received this e-mail in error, please
respond to the individual sending the message, and permanently delete the
original and any copy of any e-mail and printout thereof.
************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140216/626338dc/attachment.html>


More information about the rabbitmq-discuss mailing list