Add a shutdown hook. It doesn't sound like it has anything whatsoever to do with broker code.
On Oct 14, 2013, at 2:21 AM, HellKnight <hellkni...@foxmail.com> wrote: > I typed "netstat -anp | grep 61616" in the server command window, and I find > that "192.168.28.66 : 7042" is connected to server port 61616. > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/The-consumers-couldn-t-disconnect-from-broker-properly-tp4672722p4672724.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com.