activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lichtin <lich...@yahoo.com>
Subject Re: Proper way to stop ActiveMQ
Date Thu, 10 Dec 2015 16:07:31 GMT
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.

Mime
View raw message