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 » RouteToLabel Question

Post new topic  Reply to topic
 RouteToLabel Question « View previous topic :: View next topic » 
Author Message
pfaulkner
PostPosted: Mon Dec 01, 2003 11:52 am    Post subject: RouteToLabel Question Reply with quote

Master

Joined: 18 Mar 2002
Posts: 241
Location: Colorado, USA

I want to be able to route to multiple labels based on the logic in my ESQL but I noticed the routeToLabel node only allows route to first or route to last.

Is there a way to route to multiple paths?
Back to top
View user's profile Send private message AIM Address
jefflowrey
PostPosted: Mon Dec 01, 2003 12:29 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

As you noticed, you can only route to either the first item in the DestinationList, or the last item in the DestinationList. Each time the RouteToLabel node is executed, it will remove it's destination from the list. So if you have three items in the list, and your flow encounters a RouteToLabel node, the first (or last) item from the list will be removed to leave two items.

You can, however, connect the output from a Label node back to the same (or another) RouteToLabel node, as well as to whatever processing you are doing from the Label. So this gives the illusion of processing two labels at once.

This assumes that your two (or more) destinations have processing that is independant of each other.

But remember that all processing is done in sequence. If a message flow encounters two output paths from the same node, they will be executed in sequence and NOT in parallel. Without using a Flow Order node or a RouteToLabel node, the order will be determined randomly.
_________________
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 » RouteToLabel Question
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.