activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james.strac...@gmail.com>
Subject Re: autostart activemq broker under tomcat 5.5
Date Mon, 05 Jun 2006 08:50:36 GMT
Yes - I'd recommend you take a look at the activemq-web-console which
auto-starts the broker along with a web application using Spring.

http://incubator.apache.org/activemq/web-console.html

On 6/2/06, Ramesh Bobba <ramesh@transerainc.com> wrote:
>
>  Hi,
>
>
>
> I am new to ActiveMQ so please bear with me. I am trying to deploy
> activemq under tomcat and want to know if there is a way to autostart the
> broker. Here is my default context.xml:
>
>
>
> <Context>
>
>
>
>     <!-- Default set of monitored resources -->
>
>     <WatchedResource>WEB-INF/web.xml</WatchedResource>
>
>
>
>     <!-- Uncomment this to disable session persistence across Tomcat
> restarts -->
>
>     <!--
>
>     <Manager pathname="" />
>
>     -->
>
>     <Resource name="jms/ConnectionFactory"
>
>             auth="Container"
>
>             type="org.apache.activemq.ActiveMQConnectionFactory"
>
>             description="JMS Connection Factory"
>
>         factory="org.apache.activemq.jndi.JNDIReferenceFactory"
>
>         brokerURL="tcp://localhost:9988"
>
>         brokerName="ActiveMQBroker"
>
>         useEmbeddedBroker="true"/>
>
>
>
>     <Resource name="jms/someTopic"
>
>             auth="Container"
>
>             type="org.activemq.command.ActiveMQTopic"
>
>             description="my Topic"
>
>         factory="org.apache.activemq.jndi.JNDIReferenceFactory"
>
>         physicalName="FOO.BAR"/>
>
>
>
>     <Resource name="jms/TEST.FOO"
>
>             auth="Container"
>
>             type="org.apache.activemq.command.ActiveMQQueue"
>
>             description="my Queue"
>
>             factory="org.apache.activemq.jndi.JNDIReferenceFactory"
>
>             physicalName="TEST.FOO"/>
>
> </Context>
>
>
>
> Regards,
>
>
>
> Ramesh K Bobba
>
> Sr. Software Engineer
>
> * <http://www.transerainc.com/>*
>
> 10101 N. DeAnza Blvd., Suite 100
>
> Cupertino, CA 95014
>
> (w)408.873.1984x108
>
> (f)408.873.7412
>
> (c)510.579.0001
>
>
>



-- 

James
-------
http://radio.weblogs.com/0112098/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message