Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 63 Insurance
- 536.4K On-Premises Infrastructure
- 138.3K Analytics Software
- 38.6K Application Development Software
- 5.8K Cloud Platform
- 109.5K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71.1K Infrastructure Software
- 105.3K Integration
- 41.6K Security Software
JMS adapter for ActiveMQ Topic running on a remote agent

Have an ActiveMQ Topic running on a remote agent. Need to configure a JMS adapter in Oracle SOA 12c to subscribe to events on this ActiveMQ topic. The JMS adapter will be linked to a BPEL process via JMS adapter partner link. When a new message is published on AciveMQ, I want to pickup this message by the JMS adapter and invoke the BPEL process
Answers
-
Hi mate,
Have a look at Oracle Support - How to Pair WebLogic Server with Apache ActiveMQ Server (Doc ID 1343654.1)
Configuration to be done on ActiveMQ side
- Start ActiveMQ using the command line interface. Navigate to the ActiveMQ installation/bin directory and run activemq. Once ActiveMQ is started successfully, you will see this message on the command window:
Successfully connected to tcp://localhost:61616 - Create ActiveMQ Queues on the link:
http://localhost:8161/admin/ ==>This is the ActiveMQ console
Configuration to be done on the Oracle WebLogic Server side
- Please set below ActiveMQ jars in the WebLogic Server classpath:
activeio-core-3.1.2.jar
activemq-console-5.4.2.jar
activemq-core-5.4.2.jar
activemq-jaas-5.4.2.jar
activemq-web-5.4.2.jar
geronimo-j2ee-management_1.1_spec-1.0.1.jar
geronimo-jms_1.1_spec-1.1.1.jar - Create a JMS module and target it to the WebLogic Server/cluster.
- Now create a Foreign JMS server using the following attributes# Go to Services -> Messaging -> JMS Modules -> SystemModule-0 -> ForeignServer-0
- JNDI Initial Context Factory: org.apache.activemq.jndi.ActiveMQInitialContextFactory
- JNDI Connection URL: tcp://localhost:61616 (this is the URL where Apache ActiveMQ is located)
- Now click on the Destinations tab and set the following attributes:
- Local JNDI Name: testActiveMQconn-destination
- Remote JNDI Name: ActiveQ (The queue name should be the name of the queue created on the ActiveMQ side)
- Now click on the Connection Factories tab and set the following attributes:
- Local JNDI Name: XAConnectionFactory
- Remote JNDI Name: (This should be the name of the connection factory created on the ActiveMQ side)
Cheers,
Vlad
- Start ActiveMQ using the command line interface. Navigate to the ActiveMQ installation/bin directory and run activemq. Once ActiveMQ is started successfully, you will see this message on the command window:
-
Can You Please Share Some More details can I Invoke BPEL Process via JMS Adapter or Is this Enough Setup to Subscribe the Events Active MQ Topic THanks Adeel
-
Hi Adeel,
Once you have the Foreign JMS configured in Weblogic, you subscribe to it with a JMS adapter the same way you would as if it as a native weblogic JMS...
Hope this helps...
Cheers,
Vlad
-
Hi Vlad Thanks for reply can you please share some document to Configured the Foreign JMS in Weblogic or some further details as per your last reply Thanks Adeel