Hi, checkout configurable io exception handler
http://activemq.apache.org/configurable-ioexception-handling.html Maybe you work something out with it. Regards -- Dejan Bosanac - http://twitter.com/dejanb ----------------- The experts in open source integration and messaging - http://fusesource.com ActiveMQ in Action - http://www.manning.com/snyder/ Blog - http://www.nighttale.net On Fri, Oct 7, 2011 at 5:28 PM, Hervé BARRAULT <[email protected]>wrote: > Hi, > I am using activemq 5.4. > > I use a broker with a JDBC persistence and i have noticed that the broker > vanish when i loose the JDBC connection (for example when i restart the > JDBC > server). > But as i am using an embedded broker in my application (based on > servicemix), the JVM is not closed. So my application is no more usable (no > broker) but the process is still alive. > > Is there a way to shutdown automatically a JVM when the broker fails (by > configuration) ? > > Thanks for answers. > > Regards > Hervé >
