ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Route to Label Messaag transfer

Post new topic  Reply to topic
 Route to Label Messaag transfer « View previous topic :: View next topic » 
Author Message
rajmq
PostPosted: Tue Oct 09, 2007 8:16 am    Post subject: Route to Label Messaag transfer Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Tue Oct 09, 2007 8:21 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Tue Oct 09, 2007 8:24 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Route to Label Messaag transfer
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.