activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jules Gosnell <>
Subject, Geronimo & WADI...
Date Wed, 10 May 2006 10:33:30 GMT
support for the 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 :

can we work around this in some way, or perhaps resuscitate support for 
this property ?

thanks for your time,


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)
 * Open Source Training & Support.

View raw message