Created
December 4, 2010 23:26
-
-
Save imageaid/728595 to your computer and use it in GitHub Desktop.
The context.xml file in Tomcat/conf that sets up the resources for ActiveMQ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Context privileged="true" antiResourceLocking="false" antiJARLocking="false" reloadable="true"> | |
<!-- Default set of monitored resources --> | |
<WatchedResource>WEB-INF/web.xml</WatchedResource> | |
<Resource name="jms/flex/TopicConnectionFactory" type="org.apache.activemq.ActiveMQConnectionFactory" description="JMS Connection Factory" factory="org.apache.activemq.jndi.JNDIReferenceFactory" brokerURL="tcp://localhost:61616" brokerName="myBroker"/> | |
<Resource name="jms/announcements" type="org.apache.activemq.command.ActiveMQTopic" description="Announcements" factory="org.apache.activemq.jndi.JNDIReferenceFactory" physicalName="amq-client-announcements"/> | |
<Resource name="jms/messages" type="org.apache.activemq.command.ActiveMQTopic" description="Messages" factory="org.apache.activemq.jndi.JNDIReferenceFactory" physicalName="amq-client-messages"/> | |
<Resource name="jms/simplequeue" type="org.apache.activemq.command.ActiveMQQueue" description="my Queue" factory="org.apache.activemq.jndi.JNDIReferenceFactory" physicalName="FlexQueue"/> | |
</Context> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment