What I intend to do is access the remote queues in Oracle Weblogic JMS (version 10.3.4) from the spring application deployed to Tomcat7.
To do this, I'm trying to configure a Resource (for example, a JMS connection factory, queues, etc.) in the Tomcat context.xml file. Then browse to this resource using jndi search in the spring configuration file and point it to beans. I already created a factory and queue connection in WebLogic JMS, and they can be accessed using the jndi names.
I can get it to work successfully when using ActiveMQ instead of Weblogic JMS. However, using Weblogic JMS, I had a problem setting the Resource element. I'm not sure which attributes will be used with the Resource tag when connecting to Oracle Weblogic JMS.
When working with ActiveMQ, the configuration of the resource element looks lower
<Resource name="jms/MyConnectionFactory" auth="Container" type="org.apache.activemq.ActiveMQConnectionFactory" factory="org.apache.activemq.jndi.JNDIReferenceFactory" description="JMS Queue Connection Factory" brokerURL="tcp://localhost:61616" brokerName="MyActiveMqBroker"/>
I am trying to find a configuration that will be used with Oracle Weblogic JMS. I looked through the documentation to see how to do this, but no luck.
Any help or pointers would be greatly appreciated. Thanks.
source share