[rabbitmq-discuss] ShutdownListener

cw storm cwstorm at gmail.com
Fri Feb 14 21:28:32 GMT 2014


I'm trying to handle this via code so that the client will establish a
channel/connection when the rabbit server comes back online to resume
consumption of the messages on the queue.


On Fri, Feb 14, 2014 at 4:24 PM, cw storm <cwstorm at gmail.com> wrote:

> "will trigger a shutdown in the Java client."
>
> Are you referring to the "ShutDownSignalException" block?
>
>
> On Fri, Feb 14, 2014 at 4:19 PM, Arun Rao <arunrao.seattle at gmail.com>wrote:
>
>> Hi Michael -
>>
>> What if you used a TCP loadbalancer and the client cannot talk to a
>> RabbitMQ node? Simply, if the RabbitMQ server crashed, does the Java client
>> code itself catch reason="shutdown"
>>
>> Thanks!
>>
>>
>> On Fri, Feb 14, 2014 at 1:11 PM, Michael Klishin <mklishin at gopivotal.com>wrote:
>>
>>>
>>> On 15 Feb 2014, at 00:50, cw storm <cwstorm at gmail.com> wrote:
>>>
>>> > Just need confirmation if the restart will invoke the
>>> "ShutdownListener" or not.
>>>
>>> RabbitMQ will send connection.close with reason = "Shutdown", which will
>>> trigger a shutdown
>>> in the Java client.
>>>
>>> MK
>>>
>>> Software Engineer, Pivotal/RabbitMQ
>>>
>>>
>>> _______________________________________________
>>> rabbitmq-discuss mailing list
>>> rabbitmq-discuss at lists.rabbitmq.com
>>> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>>>
>>
>>
>> _______________________________________________
>> 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/20140214/538514a5/attachment.html>


More information about the rabbitmq-discuss mailing list