[rabbitmq-discuss] need to close Channel, Connection

John Cartwright john.c.cartwright at noaa.gov
Sat Nov 10 20:50:30 GMT 2012


Hello All,

In going through the tutorials
(http://www.rabbitmq.com/getstarted.html), it appears that in cases
where an infinite loop is used to listen for incoming messages (e.g.
Worker.java) that the Connection and Channel are not explicitly closed
when the program is terminated with a control-C.

Is this acceptable behavior to use routinely?

Thanks!

--john


More information about the rabbitmq-discuss mailing list