The moose likes Websphere and the fly likes How to send msgs to more than one MQ Queues Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Websphere
Reply Bookmark "How to send msgs to more than one MQ Queues" Watch "How to send msgs to more than one MQ Queues" New topic
Author

How to send msgs to more than one MQ Queues

Muhammed Fataq
Greenhorn

Joined: May 15, 2009
Posts: 1
Dear All,

I have the requirement to send messages from java 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;
MQEnvironment.properties.put(MQC.TRANSPORT_PROPERTY, MQC.TRANSPORT_MQSERIES);

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
Abdul Fataq
 
 
subject: How to send msgs to more than one MQ Queues
 
Threads others viewed
Sending XML messages to Websphere MQ
MQQueue Manager and their relation with QueueListener and MQ Channel
MQ messging question
Newbie MQ architecture question on synchronous calls
Test 296 - Websphere MQ Solution Design
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture