You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Jules Gosnell <ju...@coredevelopers.net> on 2006/05/10 12:33:30 UTC
activemq.broker.disable-clean-shutdown, Geronimo & WADI...
support for the activemq.broker.disable-clean-shutdown seems to have
disappeared somewhere between 3.2.2 and 4.0-M4...
this is going to pose a problem for any embedded use of the broker :
http://issues.apache.org/jira/browse/GERONIMO-1818
http://jira.codehaus.org/browse/WADI-76
can we work around this in some way, or perhaps resuscitate support for
this property ?
thanks for your time,
Jules
Jules Gosnell wrote:
>
> Since the BrokerService's default value for useShutdownHook is true, a
> shutdown hook get set up for every broker that I start.
>
> I cannot find a simple way, to get at the broker before it is started,
> to setUseShutdownHook(false) - maybe I am missing something ?
>
> This means that if someone control-c's my JVM, I have no control over
> when the broker actually shuts down - my code which uses AMQ during
> shutdown and the broker find themselves in a race....
>
> I had a solution to this in 3.2 (I seem to remember that I could
> suppress the registration of the shutdown hook via a property and had
> found a really tortuous way to explicitly shut down the broker when I
> wanted to), but do not seem to be able to find one in 4.0-RC2 - is
> there one ?
>
> I need a way to take on responsibility for the Broker's lifecycle and
> manipulate it - or that is my understanding of the situation anyway -
> any help would be appreciated.
>
> cheers,
>
>
> Jules
>
--
"Open Source is a self-assembling organism. You dangle a piece of
string into a super-saturated solution and a whole operating-system
crystallises out around it."
/**********************************
* Jules Gosnell
* Partner
* Core Developers Network (Europe)
*
* www.coredevelopers.net
*
* Open Source Training & Support.
**********************************/