<div dir="ltr">Thanks MK.  <div><br></div><div>So, by implementing this block of code in my java service, whenever I perform a force close connection via the web console, the below block code will be executed, right?</div>
<div><br></div><div><pre class="" style="background-color:rgb(238,238,238);padding:5px;border:1px solid rgb(221,221,221);color:rgb(51,51,51);font-family:'Courier New',Courier,monospace;font-size:13px;line-height:18px">
connection.addShutdownListener(<span style="color:rgb(0,139,139)">new</span> ShutdownListener() {
    <span style="color:rgb(0,139,139)">public void</span> shutdownCompleted(ShutdownSignalException cause)
    {
        ...
    }
});</pre></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 13, 2014 at 11:07 AM, 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 class=""><br>
On 13 Feb 2014, at 20:03, cw storm <<a href="mailto:cwstorm@gmail.com">cwstorm@gmail.com</a>> wrote:<br>
<br>
> Also, I was wondering, on the RMQ web console, when I manually force a close connection, is there any callback function/service being issue at all?<br>
<br>
</div>RabbitMQ will use connection.close which in the Java client will cause a shutdown sequence.<br>
<br>
MK<br>
<br>
Software Engineer, Pivotal/RabbitMQ<br>
<div class="HOEnZb"><div class="h5"><br>
<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>
</div></div></blockquote></div><br></div>