The broker itself (class BrokerService) offers a method void addShutdownHook(Runnable hook)
khandelwalanuj wrote > My requirement : > > I need to execute some code when I stop the broker. What is the best way > to do this ? > > Thanks, > Anuj -- View this message in context: http://activemq.2283324.n4.nabble.com/Proper-way-to-stop-ActiveMQ-tp4704801p4704857.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.