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 » How can I route to multiple labels using a compute node?

Post new topic  Reply to topic
 How can I route to multiple labels using a compute node? « View previous topic :: View next topic » 
Author Message
Guaresnay
PostPosted: Wed Feb 10, 2010 12:43 pm    Post subject: How can I route to multiple labels using a compute node? Reply with quote

Newbie

Joined: 10 Feb 2010
Posts: 8

Hi, I've been trying to route a single flow to multiple labels using a compute node with no luck. I don't wan't to use PROPAGATE and RouteToLabel can only route to 1 label if I'm not mistaken..

Could anyone give me a tip please?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Feb 10, 2010 12:48 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Use propagate.
Back to top
View user's profile Send private message
Guaresnay
PostPosted: Wed Feb 10, 2010 12:51 pm    Post subject: Re: How can I route to multiple labels using a compute node? Reply with quote

Newbie

Joined: 10 Feb 2010
Posts: 8

Guaresnay wrote:
...I don't wan't to use PROPAGATE...


Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Feb 10, 2010 1:03 pm    Post subject: Re: How can I route to multiple labels using a compute node? Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

[quote="Guaresnay"]
Guaresnay wrote:
...I don't wan't to use PROPAGATE...


Why not?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Feb 10, 2010 1:04 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Your other option is to switch to a pub/sub model
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Feb 10, 2010 1:08 pm    Post subject: Re: How can I route to multiple labels using a compute node? Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Guaresnay wrote:
Guaresnay wrote:
...I don't wan't to use PROPAGATE...




I'd like to be able to fly.

There is no mechanism in Broker for sending a single PROPAGATE down more than one path at a time.

Even if you create more than one Connection from a single output terminal, it still goes down each connection ONE AT A TIME (in no specified order).

You can not do what you want to do the way you want to do it.

What are you TRYING to achieve by asking how to do the impossible?
Back to top
View user's profile Send private message
Guaresnay
PostPosted: Wed Feb 10, 2010 2:31 pm    Post subject: Re: How can I route to multiple labels using a compute node? Reply with quote

Newbie

Joined: 10 Feb 2010
Posts: 8

mqjeff wrote:
Guaresnay wrote:
Guaresnay wrote:
...I don't wan't to use PROPAGATE...




I'd like to be able to fly.

There is no mechanism in Broker for sending a single PROPAGATE down more than one path at a time.

Even if you create more than one Connection from a single output terminal, it still goes down each connection ONE AT A TIME (in no specified order).

You can not do what you want to do the way you want to do it.

What are you TRYING to achieve by asking how to do the impossible?


It doesn't need to be all at the same time, I just need to pass the flow to multiple labels depending on some conditions..

I've been told to do the following:
Depending on an XML value pass the flow to different labels BUT if that value is 0 I need to pass the flow to 3 labels.
I can't use PROPAGATE because of a working methodology..
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Feb 10, 2010 3:01 pm    Post subject: Re: How can I route to multiple labels using a compute node? Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Guaresnay wrote:
I can't use PROPAGATE because of a working methodology..


Then it's a somewhat ill-conceived and limiting methodolgy. Who decided that and what's the motivation? What options are permissable (no point us suggesting another solution only to have it ruled out for political reasons).
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Guaresnay
PostPosted: Wed Feb 10, 2010 4:35 pm    Post subject: Re: How can I route to multiple labels using a compute node? Reply with quote

Newbie

Joined: 10 Feb 2010
Posts: 8

Vitor wrote:

Then it's a somewhat ill-conceived and limiting methodolgy. Who decided that and what's the motivation? What options are permissable (no point us suggesting another solution only to have it ruled out for political reasons).


I know the methodology is limiting, I didn't do it. The company where I work uses it because of "Flows easier to follow graphically", don't ask me why..

Anything but a PROPAGATE would be permissable, I just can't find a way to do it :/

Thanks for your time
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Feb 10, 2010 5:53 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Okay, so RouteToLabel supports "RouteToFirst" and "RouteToLast", so you can do something like

Input->compute->RouteToLabel
Label1->Compute->RouteToLabel
Label2->Comptue->RouteToLabel


But you have to be very careful not to create a loop, i.e. don't go from 1 to 2 and then back to 1.
Back to top
View user's profile Send private message
Guaresnay
PostPosted: Wed Feb 10, 2010 6:20 pm    Post subject: Reply with quote

Newbie

Joined: 10 Feb 2010
Posts: 8

mqjeff wrote:
Okay, so RouteToLabel supports "RouteToFirst" and "RouteToLast", so you can do something like

Input->compute->RouteToLabel
Label1->Compute->RouteToLabel
Label2->Comptue->RouteToLabel


But you have to be very careful not to create a loop, i.e. don't go from 1 to 2 and then back to 1.


I'll play around with those properties and will let you know if I get it to work, thanks..
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 » How can I route to multiple labels using a compute node?
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.