<div dir="ltr">What "regular shutdown sequence" are you referring to? �The "ShutdownListener"?</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 13, 2014 at 1:39 PM, Michael Klishin <span dir="ltr"><<a href="mailto:michael.s.klishin@gmail.com" target="_blank">michael.s.klishin@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2014-02-13 20:44 GMT+04:00 cw storm <span dir="ltr"><<a href="mailto:cwstorm@gmail.com" target="_blank">cwstorm@gmail.com</a>></span>:<div class="">
<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

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?</blockquote>


</div></div><br>You will get the regular shutdown sequence.<br><br clear="all"><div>If RabbitMQ goes down or the node becomes inaccessible, you can't get</div><div>cancel notification but an I/O exception will trigger a shutdown.</div>


<div><br></div><div>Future RabbitMQ Java client versions may include an automatic recovery feature like</div><div>Ruby and Clojure clients have (e.g. <a href="http://clojurerabbitmq.info/articles/error_handling.html" target="_blank">http://clojurerabbitmq.info/articles/error_handling.html</a>).</div>
<span class="HOEnZb"><font color="#888888">

-- <br>MK<br><br><a href="http://github.com/michaelklishin" target="_blank">http://github.com/michaelklishin</a><br><a href="http://twitter.com/michaelklishin" target="_blank">http://twitter.com/michaelklishin</a><br>
</font></span></div></div>
<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>