activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ttmdev <>
Subject Re: How to Start ActiveMQ from Tomcat
Date Mon, 12 Nov 2007 13:51:28 GMT

I would recommend creating a ServletContextListener for your web application.
Through the listener, you can then start an embedded AMQ broker (I am
assuming this is the broker type you want)  when your web application gets
deployed/initialized. Use your web app's ../META-INF/context.xml file to
configure your JMS administrable objects (i.e., destinations and connection
factories) as this page describes.

You'll need to define a connection factory with the vm:// or peer:// schemes
to start the embedded broker. 

Hope this helps - Joe

Gokulal wrote:
> Hi,
> How to bring up ActiveMQ by starting Tomcat?
> After this I need to bring up a Mule instance,which will be running as a
> Web Application.
> (Mule in Tomcat is working)
> Thanks and Regards,
> Gokulal.K

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message