activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dejan Bosanac <de...@nighttale.net>
Subject Re: VM shutdown on broker failure.
Date Mon, 10 Oct 2011 08:40:26 GMT
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 <herve.barrault@gmail.com>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é
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message