activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ttmdev <joe.fernan...@ttmsolutions.com>
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. 

http://activemq.apache.org/tomcat.html

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: http://www.nabble.com/How-to-Start-ActiveMQ-from-Tomcat-tf4789244s2354.html#a13705795
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message