|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Route to Label Messaag transfer |
« View previous topic :: View next topic » |
Author |
Message
|
rajmq |
Posted: Tue Oct 09, 2007 8:16 am Post subject: Route to Label Messaag transfer |
|
|
 Partisan
Joined: 29 Sep 2002 Posts: 331 Location: USA
|
All,
Main flow process the xml message and based on the label name and it is calling the subflow.( achiveing through RouteLabel/Label name nodes )
When i use the below syntax , main flow returns the tag value but in the subflow same syntax is returning NULL ?.
DECLARE test REFERENCE TO OutputRoot.XML.transactions.(XML.Element)[1];
It seems the entire message is not copied to output root.
how do i copy the entire xml message to subflow ?
 _________________ IBM Certified System Administrator - WebSphere MQ V6.0
IBM Certified System Administrator - WebSphere Business Integration Message Broker V6.0 |
|
Back to top |
|
 |
Vitor |
Posted: Tue Oct 09, 2007 8:21 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Subflows (i.e. flows included with another) are rolled up to appear as a single flow to the broker so the message isn't transferred anywhere. Have you ensured (with trace node or similar) that the main flow has produced an output message tree to route to the subflow in all cases? Especially one with a root tag of transactions (in that case).
And if you're using v6 as your sig suggests, use XMLNS or XMLNSC not XML. Nothing to do with your problem, just best practice. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Oct 09, 2007 8:24 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Nothing will exist in OutputRoot, in any compute node, regardless of where you have put that Compute node, until you have copied the message headers or copied the entire message.
Please be clear that you are talking about a new compute module in a subflow, rather than a new PROCEDURE that you are calling from a compute module in a main flow. _________________ I am *not* the model of the modern major general. |
|
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
|
|
|
|