File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How to send msgs to more than one MQ Queues
Joined: May 15, 2009
Jan 15, 2012 03:49:38
I have the requirement to send messages from
batch process to more than one Websphere MQ queues, which (queues) are resides on different servers.
We can send messages from java application to Websphere MQ queues which are resides in single server using below configurations
MQEnvironment.hostname = hostname;
MQEnvironment.channel = channel;
MQEnvironment.port = portNo;
Could you please some one help me to configure more than one Websphere MQ hostname, channel, portNo and other properties for each MQ servers, which i want to connect from same java application.
Since hostname, channel and portNo are static attributes in MQEnvironment class, I am not sure how to configure each MQ servers required attributes ?...
Thanks & Regards
I agree. Here's the link:
subject: How to send msgs to more than one MQ Queues
MQ messging question
Newbie MQ architecture question on synchronous calls
MQQueue Manager and their relation with QueueListener and MQ Channel
Sending XML messages to Websphere MQ
Test 296 - Websphere MQ Solution Design
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014