karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hervé BARRAULT <herve.barra...@gmail.com>
Subject Sop Karaf on bundle Failure
Date Tue, 24 Jan 2012 12:36:09 GMT
Hi,
is there a way in Karaf to define a bundle as "critical" ?. If this
bundle fails, the whole container shall stop/restart.

I can use a listener as in a previous question f(Starting/Stopping
Programmatically Bundles) to check the state of the bundle.

The idea is : I have an embedded broker and my bundles communicate
through JMS. If the broker fails, i am useless so I should try to
restart (at least the broker but i have seen after failure that only
restarting the broker is sometimes not enough).

Regards

Hervé

Mime
View raw message