I got it. Thanks What I did: Created my own plugin which extends BrokerPluginSupport. By this I can override start() and stop() methods.
Thanks, Anuj -- View this message in context: http://activemq.2283324.n4.nabble.com/Proper-way-to-stop-ActiveMQ-tp4704801p4704882.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.