[rabbitmq-discuss] Advice on where to reset connection and channel
cwstorm at gmail.com
Sun Feb 16 19:36:57 GMT 2014
Yes, I perform close connections via UI but since I have handle the
shutdown signal, it's going to create new connection/channel which I don't
want to do during development. I thought I could maybe spice up my logic.
If it's a close connection via UI, then do this...else...reconnect. Maybe
I'm thinking too much and my new changes will be in effect when I force or
Thanks again MK. Moving right along....
On Sun, Feb 16, 2014 at 2:27 PM, Michael Klishin <
michael.s.klishin at gmail.com> wrote:
> 2014-02-16 23:18 GMT+04:00 cw storm <cwstorm at gmail.com>:
> 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.
> You can close connections via management UI or rabbitmqctl and it will
> trigger a shutdown. That's how recovery
> is tested (besides automated tests) for all JVM-based clients that support
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss