Hi, I am trying to integrate ActiveMQ with Tomcat. I have defined a queue, Topic and Connection Factory in Tomcat server.xml and Context.xml file as below.
Server.xml =========== <GlobalNamingResources> <Resource name=”jms/ConnectionFactory” auth=”Container” type=”org.apache.activemq.ActiveMQConnectionFactory” description=”JMS Connection Factory” factory=”org.apache.activemq.jndi.JNDIReferenceFactory” brokerURL=”tcp://localhost:61616″ brokerName=”ActiveMQBroker” useEmbeddedBroker=”false”/> <Resource name=”jms/topic/MyTopic” auth=”Container” type=”org.apache.activemq.command.ActiveMQTopic” factory=”org.apache.activemq.jndi.JNDIReferenceFactory” physicalName=”APP.JMS.TOPIC”/> <Resource name=”jms/queue/MyQueue” auth=”Container” type=”org.apache.activemq.command.ActiveMQQueue” factory=”org.apache.activemq.jndi.JNDIReferenceFactory” physicalName=” APP.JMS.QUEUE “/> </GlobalNamingResources> Context.xml: <ResourceLink global=”jms/ConnectionFactory” name=”jms/ConnectionFactory” type=”javax.jms.ConnectionFactory”/> <ResourceLink global=”jms/topic/MyTopic” name=”jms/topic/MyTopic” type=”javax.jms.Topic”/> <ResourceLink global=”jms/queue/MyQueue” name=”jms/queue/MyQueue” type=”javax.jms.Queue”/> Do I need to create the JMS resources using ActiveMQ console as well in order to use the JMS resources? Please let me know. Thanks ! Rajendra