activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Tully <>
Subject Re: XBean 'start=false' not working?
Date Wed, 07 Jul 2010 09:11:29 GMT
You may need to upgrade to 5.3.2, on trunk, the RAR broker start is
done in its own thread so it does not block the initiator. Also, the
PostConstruct does check the start flag in XBeanBrokerService.
What version are you using?

On 6 July 2010 20:20, dnn <> wrote:
> Has anyone had problems with the XBean 'start=false' not actually disabling
> the Broker startup on launch?  I am using Spring 2.5.5 and noticed that
> @PostConstruct annotation on the BrokerService#start method does not take
> the XBeanBrokerService#start flag into account.  After commenting out the
> @PostConstruct annotation on BrokerService#start(), it worked as expected
> and the broker was not started.
> My problem is that I'm trying to use the shared filesystem master/slave
> architecture and the JBoss main thread ends up calling BrokerService#start
> (causing the method to block indefinitely waiting for the FS lock).  JBoss
> doesn't seem to play nicely with its main thread blocked and will not shut
> down gracefully.
> Does anyone know of any other workarounds?
> Thanks,
> Dan
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at


Open Source Integration

View raw message