<div dir="ltr">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.</div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Fri, Feb 14, 2014 at 4:24 PM, cw storm <span dir="ltr"><<a href="mailto:cwstorm@gmail.com" target="_blank">cwstorm@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=""><span style="font-family:arial,sans-serif;font-size:13px">"will trigger a shutdown </span><span style="font-family:arial,sans-serif;font-size:13px">in the Java client."</span><br><div>
<span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div></div><div><span style="font-family:arial,sans-serif;font-size:13px">Are you referring to the "ShutDownSignalException" block?</span></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra">
<br><br><div class="gmail_quote">On Fri, Feb 14, 2014 at 4:19 PM, Arun Rao <span dir="ltr"><<a href="mailto:arunrao.seattle@gmail.com" target="_blank">arunrao.seattle@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">Hi Michael -<div><br></div><div>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"</div>


<div><br></div><div>Thanks!</div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Feb 14, 2014 at 1:11 PM, Michael Klishin <span dir="ltr"><<a href="mailto:mklishin@gopivotal.com" target="_blank">mklishin@gopivotal.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br>
On 15 Feb 2014, at 00:50, cw storm <<a href="mailto:cwstorm@gmail.com" target="_blank">cwstorm@gmail.com</a>> wrote:<br>
<br>
> Just need confirmation if the restart will invoke the "ShutdownListener" or not.<br>
<br>
</div>RabbitMQ will send connection.close with reason = “Shutdown”, which will trigger a shutdown<br>
in the Java client.<br>
<br>
MK<br>
<br>
Software Engineer, Pivotal/RabbitMQ<br>
<br>
<br>
_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">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>
</blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com" target="_blank">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>
</div></div></blockquote></div><br></div>