[rabbitmq-discuss] Which listener or callback service is perform in event rabbit server shutdown
cw storm
cwstorm at gmail.com
Thu Feb 13 19:32:39 GMT 2014
What "regular shutdown sequence" are you referring to? The
"ShutdownListener"?
On Thu, Feb 13, 2014 at 1:39 PM, Michael Klishin <
michael.s.klishin at gmail.com> wrote:
>
> 2014-02-13 20:44 GMT+04:00 cw storm <cwstorm at gmail.com>:
>
> I'm trying to best handle from the client side in the event our rabbit
>> server goes down. When that happens, I assume the client will need to
>> establish a subscription to the queue for consumption. I assume the broker
>> will issue a cancel on the consumer which will perform the "handleCancel"
>> callback function. Is it possible to test this scenario?
>
>
> You will get the regular shutdown sequence.
>
> If RabbitMQ goes down or the node becomes inaccessible, you can't get
> cancel notification but an I/O exception will trigger a shutdown.
>
> Future RabbitMQ Java client versions may include an automatic recovery
> feature like
> Ruby and Clojure clients have (e.g.
> http://clojurerabbitmq.info/articles/error_handling.html).
> --
> 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/20140213/e18cdff0/attachment.html>
More information about the rabbitmq-discuss
mailing list