App Connect

App Connect

Join this online user group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only

Send Message from Active MQ To IBM ACE over JMS

By Tarandeep Singh posted Tue November 29, 2022 05:34 AM

  
Hi Everyone,

This blog is for establishing connectivity to Send Message from Active MQ to IBM ACE and process downstream.

Products used:
  • IBM ACE - 12.0.3.0
  • Active MQ - 5.16.5

Let's consider that Active MQ and IBM ACE is installed in Windows OS and are up and running!

ActiveMQ Broker URL: localhost:61616
Queue Created in Active MQ: QUEUE.JMS2

First Step:

  • Create a flow as below:
The Message will be received at JMS Input Node from Active MQ and will be Received to MQ Output Node.
JMS MQ Transformation node is used to map JMS headers + Message to Corresponding MQ Headers + Message

JMS Input Node: JMSQueue2 (Source Queue)
MQ Output Node: JMS.Q

Second Step:

  • Create a Policy Project file and fill with below details:
As I will be using queue setup of Active MQ, hence will use the connection factory name as 'queueConnectionFactory'

Third Step:

  • Build a Jar File (jndi.properties.jar) with just jndi.properties file inside.


Fourth Step:

  • Place the Required Jar files on the shared classes directory as mentioned in the Policy Project


Fifth Step:

  • Attach the Policy Project to JMS Input node and deploy the Policy Project and flow to the integration server.

Sixth Step:

  • Try sending message from Active MQ Web Console and check if the message appearing in the MQ Queue
0 comments
47 views

Permalink