Take a look at http://activemq.apache.org/how-do-i-embed-a-broker-inside-a-connection.html It's not a good idea to bootstrap the embeded broker inside a web application. Your other web applications that connects to the broker depends on the first startup of the web application which bootstraps the broker. You may have to assign bootstrap order for web applications in WebSphere.
At 2013-02-05 14:33:52,nocturnal3d <[email protected]> wrote: >Hi, I would like to know if there is a good example demonstrating how to >embed ActiveMQ inside a web application and deploy it to IBM Websphere. > >My company uses Websphere 8, we are developing a high volume >publish/subscribe app and would like to use ActiveMQ - would it be wise to >deploy a WAR file with ActiveMQ embedded and another WAR file with our app >connecting to that ActiveMQ instance? or should we bootstrap ActiveMQ inside >our app directly? We currently don't have the option of running ActiveMQ >standalone. > >thanking you in advance. > > > >-- >View this message in context: >http://activemq.2283324.n4.nabble.com/Using-ActiveMQ-embeded-in-WAR-deployed-to-IBM-Websphere-tp4662760.html >Sent from the ActiveMQ - User mailing list archive at Nabble.com.
