|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Routing Node |
« View previous topic :: View next topic » |
Author |
Message
|
gobi_nathan |
Posted: Thu Feb 06, 2003 11:01 pm Post subject: Routing Node |
|
|
Acolyte
Joined: 08 Jan 2003 Posts: 69
|
Is it possible route the message to different nodes based on the input message content
I have the single input node and multiple compute nodes, each has the different transformation logic .Based on the message I want to pass the message to any one of the compute node.
Is it possible to do this in WMQI.
-Gobi |
|
Back to top |
|
 |
yaakovd |
Posted: Fri Feb 07, 2003 12:07 am Post subject: |
|
|
Partisan
Joined: 20 Jan 2003 Posts: 319 Location: Israel
|
I have routing by message content to 15 compute nodes.
I use multiple filter nodes (like IF-ELSE IF-ELSE...).
Other option can be more copmlicated:
1 flow has input node, where you will check for message content parameters. Set REPLYQ by your logic (Q1, Q2, Q3 ...)
Inoutput node use destination by replyQ, replyQMgr can be empty, because you use same QMgr.
This flow will route messages to Q1, Q2, Q3 ...
Put your multiple compute nodes to different flows, which listen to Q1, Q2, Q3 ... _________________ Best regards.
Yaakov
SWG, IBM Commerce, Israel |
|
Back to top |
|
 |
lillo |
Posted: Fri Feb 07, 2003 4:12 am Post subject: |
|
|
Master
Joined: 11 Sep 2001 Posts: 224
|
Hi,
There is a easier solution to implement multiple filter nodes. The solution is to use a RouteToLabel node and multiple Labels nodes. To learn about these nodes to can check the WMQI manuals or the redbook "Devoloping solutions in WebSphere MQ Integrator" where you will find a chapter covering these nodes.
Cheers, _________________ Lillo
IBM Certified Specialist - WebSphere MQ |
|
Back to top |
|
 |
yaakovd |
Posted: Sat Feb 08, 2003 10:59 am Post subject: |
|
|
Partisan
Joined: 20 Jan 2003 Posts: 319 Location: Israel
|
This is depends of MQI version.
Actually my routing scenario is implementation of RouteToLabel for 2.0.2.
But if you have 2.1 RouteToLabel node will help.
Anyway filter nodes good for both  _________________ Best regards.
Yaakov
SWG, IBM Commerce, Israel |
|
Back to top |
|
 |
lillo |
Posted: Mon Feb 10, 2003 1:45 am Post subject: |
|
|
Master
Joined: 11 Sep 2001 Posts: 224
|
RouteToLabel nodes are available also in MQSI 2.0.2. The only different is LocalEnvironment is not valid in 2.0.2 you should use DestinationList.
I agree with you about the filter nodes solutions is valid in 2.0.2 and 2.1, but I also with the RTL solution is valid in your scenario and would have a better performance than your filter solution.
Cheers _________________ Lillo
IBM Certified Specialist - WebSphere MQ |
|
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
|
|
|
|