Page 1 of 1

Connecting to Apache ActiveMQ from MQConnector

Posted: Tue Jul 18, 2017 5:11 pm
by moalik
Hi All,

I am doing a PoC on Message Queue's in my project.

I need to connect to Apache ActiveMQ from my DataStage MQConnector Stage to post a request and read the replies as well.

When I am checking the MQ Connector Stage in CLient Mode, it is asking me for Queue Manager Name, User Name and Password and Client Channel name. For the Apache ActiveMQ we don't have the concept of Queue Manager.

Could you please guide me on how to setup the connection between Apache ActiveMQ and my Datastage 11.5 MQ?

Posted: Tue Jul 18, 2017 5:20 pm
by chulett
Doesn't that connector only support the WebSphere MQ server?

Posted: Tue Jul 18, 2017 5:44 pm
by moalik
Thanks for the reply Craig. :)

I was in an assumption that we can connect to any of the Message Queues using thie MQConnector stage,when you integrate the ActiveMQ with IBM Message Broker.

Is there any other way i can connect to the ActiveMQ from Datastage?

Posted: Tue Jul 18, 2017 8:14 pm
by chulett
We'll have to wait for someone else to answer that. :wink:

Posted: Tue Jul 18, 2017 8:23 pm
by moalik
I was thinking of something below. Any suggestions would be helpful.

1. Create Java Class to reuqest and response functions by connecting to ActiveMQ.
2. Integrate the code in Java Integration Stage in DataStage to pass the input data to the class and output from the class as response.

Have this approach in mind but my Java skills are very poor :-P . So need to get help online documentation.

Posted: Wed Jul 19, 2017 8:11 am
by qt_ky
Well... the product docs say that, "You can use the IBM WebSphere MQ connector in your jobs to read messages from and write messages to message queues in IBM WebSphere MQ enterprise applications."