|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Message Flow Routing |
« View previous topic :: View next topic » |
Author |
Message
|
LearnMQSI |
Posted: Tue Aug 20, 2002 8:06 pm Post subject: Message Flow Routing |
|
|
 Centurion
Joined: 20 Aug 2002 Posts: 137
|
Hi MQSI Experts,
I'm brand new to MQSI. I have to create a msg. flow which will check the destination Q MGR, and route the msg.
When the msg. arrives, at Intermediate QMGR, it will check and select the appropriate destination QMGR and route the msg.(Destination QMGRs are 2, so it has to select the appropriate one out of this 2 qmgrs)
If somebody can drop a sample msg. flow similar to this will be appreciate or just have a thought on it, how it can be done will be great.
Thanx |
|
Back to top |
|
 |
kirani |
Posted: Tue Aug 20, 2002 8:39 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
If i understand your question correctly, you want to route a message to two different queues on two different queue managers after doing some checks?
Have a look at this thread:
http://www.mqseries.net/phpBB2/viewtopic.php?t=4700&highlight=queuename
Code: |
IF ( condition1) THEN
SET OutputLocalEnvironment.Destination.MQ.DestinationData[1].queueName = 'Q1'
SET OutputLocalEnvironment.Destination.MQ.DestinationData[1].queueManagerName = 'QMgr1';
ELSE
SET OutputLocalEnvironment.Destination.MQ.DestinationData[1].queueName = 'Q2'
SET OutputLocalEnvironment.Destination.MQ.DestinationData[1].queueManagerName = 'QMgr2';
END IF;
|
_________________ 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 |
|
 |
LearnMQSI |
Posted: Sun Aug 25, 2002 8:20 pm Post subject: Route Msg Flow to 2 different queues on 2 diff. q mgrs |
|
|
 Centurion
Joined: 20 Aug 2002 Posts: 137
|
Kiran,
Thank you so much for your help. I appreciate your help. You are always there to help people. Once again thanx
kirani wrote: |
If i understand your question correctly, you want to route a message to two different queues on two different queue managers after doing some checks?
Have a look at this thread:
http://www.mqseries.net/phpBB2/viewtopic.php?t=4700&highlight=queuename
Code: |
IF ( condition1) THEN
SET OutputLocalEnvironment.Destination.MQ.DestinationData[1].queueName = 'Q1'
SET OutputLocalEnvironment.Destination.MQ.DestinationData[1].queueManagerName = 'QMgr1';
ELSE
SET OutputLocalEnvironment.Destination.MQ.DestinationData[1].queueName = 'Q2'
SET OutputLocalEnvironment.Destination.MQ.DestinationData[1].queueManagerName = 'QMgr2';
END IF;
|
|
|
|
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
|
|
|
|