|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Can QM be specified in a DestinationList |
« View previous topic :: View next topic » |
Author |
Message
|
klingelb |
Posted: Wed Dec 11, 2002 4:30 am Post subject: Can QM be specified in a DestinationList |
|
|
 Apprentice
Joined: 25 Sep 2002 Posts: 28
|
OutputLocalEnvironment.Destination.MQDestinationList.DestinationData.?
Can a QM name be specified under DestinationData? |
|
Back to top |
|
 |
kirani |
Posted: Wed Dec 11, 2002 8:21 am Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Yes!
For Example,
Code: |
SET OutputLocalEnvironment.Destination.MQ.DestinationData[1].queueManagerName = 'QM1'
SET OutputLocalEnvironment.Destination.MQ.DestinationData[1].queueName = 'Queue1'
|
_________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
AlexeiSkate |
Posted: Mon Dec 16, 2002 1:17 pm Post subject: |
|
|
Centurion
Joined: 10 Apr 2002 Posts: 123
|
Hi,
I'm just curious as to when you would want to specify the QMngr name in the destination list. Can you route the message to the QMngr and not to a queue itself ? |
|
Back to top |
|
 |
kirani |
Posted: Mon Dec 16, 2002 8:58 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Hi Alex,
Let's say your broker queue manager name is QM1 and you want to send a message to queue Q1 on another queue manager (QM2).
Now, you have 2 options to do this,
1. Define a remote queue RQ1 on queue manager QM1, which maps to local queue Q1 on QM2 qmgr.
2. Specify queue manager name and queue name in your message flow (either using MQOutput node or using DestinationList).
In either case you need to have channels defined between these two queue managers (QM1 and QM2). If using option 2, broker will put message directly on the Transmission queue (QM2) of queue manager QM1 with transmission header, which will be then transmitted to queue Q1 on queue manager QM2. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|