Hey rob.. we could just change our shutdown hook processing so that it closes down the message store. Stores can usually start up quicker if shutdown properly. We can avoid shutting down the transports since that can take a while.
Regards. Hiram On 10/9/07, Rob Davies <[EMAIL PROTECTED]> wrote: > Yes - I'm actually using that ;) - depending on what people felt - I > wondered about disabling the shutdown hook by default - as the > shutdown hook should be short lived, we are limited in what we can do > witthout running into problems. > This isn't a big problem - just a nuisance > > > > cheers, > > Rob > > http://rajdavies.blogspot.com/ > > > > On Oct 9, 2007, at 12:34 PM, James Strachan wrote: > > > You could always just disable the use of the shutdown handler on the > > BrokerServer > > http://activemq.apache.org/maven/activemq-core/apidocs/org/apache/ > > activemq/broker/BrokerService.html#setUseShutdownHook(boolean) > > > > or <broker> element > > http://activemq.apache.org/maven/activemq-core/xsddoc/ > > http___activemq.org_config_1.0/element/broker.html > > > > > > On 09/10/2007, Bruce Snyder <[EMAIL PROTECTED]> wrote: > >> On 10/9/07, Rob Davies <[EMAIL PROTECTED]> wrote: > >>> I've found that the our use of the shutdown hook in the Broker to > >>> cause some problems - especially debugging - its difficult to kill > >>> the broker ;) > >>> Is anybody else having problems with it? > >> > >> Yes, I've experienced this myself and I am forced to resort to hard > >> kill of the pid. > >> > >> Bruce > >> -- > >> perl -e 'print unpack("u30","D0G)[EMAIL PROTECTED]&5R\"F)R=6-E+G-N>61E<D > >> \!G;6%I;\"YC;VT*" > >> );' > >> > >> Apache ActiveMQ - http://activemq.org/ > >> Apache ServiceMix - http://servicemix.org/ > >> Apache Geronimo - http://geronimo.apache.org/ > >> Castor - http://castor.org/ > >> > > > > > > -- > > James > > ------- > > http://macstrac.blogspot.com/ > > > > Open Source SOA > > http://open.iona.com > > -- Regards, Hiram Blog: http://hiramchirino.com
