Connecting to Apache ActiveMQ from MQConnector

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
moalik
Participant
Posts: 39
Joined: Thu Sep 15, 2011 8:15 am
Location: Melbourne

Connecting to Apache ActiveMQ from MQConnector

Post 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?
Mohsin Khan
Datastage Consultant
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Doesn't that connector only support the WebSphere MQ server?
-craig

"You can never have too many knives" -- Logan Nine Fingers
moalik
Participant
Posts: 39
Joined: Thu Sep 15, 2011 8:15 am
Location: Melbourne

Post 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?
Mohsin Khan
Datastage Consultant
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

We'll have to wait for someone else to answer that. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
moalik
Participant
Posts: 39
Joined: Thu Sep 15, 2011 8:15 am
Location: Melbourne

Post 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.
Mohsin Khan
Datastage Consultant
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post 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."
Choose a job you love, and you will never have to work a day in your life. - Confucius
Post Reply