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 Inconsistency

Post new topic  Reply to topic
 Route To Label Inconsistency « View previous topic :: View next topic » 
Author Message
LH33
PostPosted: Fri Aug 20, 2004 7:26 am    Post subject: Route To Label Inconsistency Reply with quote

Master

Joined: 21 Nov 2002
Posts: 200

I have a message flow that has 6 Route To Label nodes and 6 Label Nodes.
The Compute node which sets the labels has the following code:

SET OutputLocalEnvironment.Destination.RouterList.DestinationData[1].labelName = 'CompFlow';
SET OutputLocalEnvironment.Destination.RouterList.DestinationData[2].labelName = FIELDNAME(InputRoot.XML.*[1]);

For the first label node I want all transactions to go to the Last Destination Label. So, for the first Label Node I have the Mode = Route To Last and this works fine.

All other transactions I want to go to the First Destination (CompFlow).

Here is my question: For the next three I have the Mode = Route To First and this also works fine as they all go to CompFlow.

For the last 2, I (mistakenly) have the Mode = Route To Last (which really should be Route To First), however, this is also working fine as they also go to CompFlow. Can anyone help me understand why this is working like this?

I tried changing the Mode to Route To First and it still works. What does the Mode property really do?

Thanks!! Lisa




Thanks! Lisa
Back to top
View user's profile Send private message
EddieA
PostPosted: Fri Aug 20, 2004 9:16 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

How many destinations are you setting up in the environment. Your example only shows 2. If that is the case, then what you are seeing is correct.

The Route To Label, routes you to the First, or Last, of the Destinations that you have set up. It also REMOVES that Destination from your list. So, in your example, after the first Route To Label, there is only one destination left. Using either First or Last will send it there.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
LH33
PostPosted: Fri Aug 20, 2004 2:22 pm    Post subject: Reply with quote

Master

Joined: 21 Nov 2002
Posts: 200

Eddie,

I am only setting 2 destinations.

Thank you for the information. I did not know that after the first one is set that it is removed!

Thanks Again!!

Lisa
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 Inconsistency
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.