<div dir="ltr">Ok. �I was hoping I could use that method or find a way to not re-establish the connection/channel unless I don't add the listener to the connection. �Everything is working the way I wanted. �However, during development, I want to perform a force close connection via the console so that I can do some debugging or test out the new changes in my code. �Everything I have initiated is in memory and I want to execute the java service again to load the new changes into memory. �Because I have added the listener to the connection, it'll re-establish the connection/channel. �Unless I reload the java package which has the service during startup.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Feb 16, 2014 at 2:08 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-16 23:00 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<span style="font-size:1em">If I force the connection to close via the console, would�</span><span style="font-size:1em">isInitiatedByApplication() be true?</span></blockquote></div></div><br>No because it is not *your* application that's initiated the shutdown.<br>


<br clear="all"><div>If you call Connection#close, then it will be set to true.</div><div class="">-- <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>



</div></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>