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

cw storm cwstorm at gmail.com
Mon Feb 17 01:46:48 GMT 2014


In my "handleCancel", I was able to perform everything related to creating
new connection/channel and recreated the queue.  However, my basicConsume
did not work.  Can I not have basicConsumer inside my "handleCancel"?


On Sun, Feb 16, 2014 at 1:23 PM, <phillip.ho at gmail.com> wrote:

> 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.
> ************************************************
>
> _______________________________________________
> 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/f8cb1ad0/attachment.html>


More information about the rabbitmq-discuss mailing list