[rabbitmq-discuss] Advice on where to reset connection and channel

cw storm cwstorm at gmail.com
Sun Feb 16 19:18:10 GMT 2014

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.

On Sun, Feb 16, 2014 at 2:08 PM, Michael Klishin <
michael.s.klishin at gmail.com> wrote:

> 2014-02-16 23:00 GMT+04:00 cw storm <cwstorm at gmail.com>:
> If I force the connection to close via the console, would isInitiatedByApplication()
>> be true?
> No because it is not *your* application that's initiated the shutdown.
> If you call Connection#close, then it will be set to true.
> --
> 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/20140216/1c845af7/attachment.html>

More information about the rabbitmq-discuss mailing list