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

Michael Klishin michael.s.klishin at gmail.com
Sun Feb 16 19:27:31 GMT 2014


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
recovery.


-- 
MK

http://github.com/michaelklishin
http://twitter.com/michaelklishin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20140216/51e42c7d/attachment.html>


More information about the rabbitmq-discuss mailing list