Author |
Message
|
msiegert |
Posted: Sat Jun 20, 2009 12:55 pm Post subject: RouteToLabel and Label |
|
|
 Apprentice
Joined: 05 Aug 2001 Posts: 29
|
Hi all!
One silly question:
it's still not possible (even with WMB 6.103) to route messages via RouteToLabel and Label Nodes when Label Nodes aren't in the same flow as the RouteToLabel Node, right?
Thanks for answers
Marc |
|
Back to top |
|
 |
Vitor |
Posted: Sat Jun 20, 2009 1:26 pm Post subject: Re: RouteToLabel and Label |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
msiegert wrote: |
it's still not possible (even with WMB 6.103) to route messages via RouteToLabel and Label Nodes when Label Nodes aren't in the same flow as the RouteToLabel Node, right?
|
No, but remember that sub flows become one single flow when deployed. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mymq |
Posted: Sat Jun 20, 2009 6:32 pm Post subject: |
|
|
Centurion
Joined: 01 Mar 2007 Posts: 101 Location: US-Greenwille
|
msiegert,
did u understand what "Vitor" explained? _________________ --SRK-- |
|
Back to top |
|
 |
msiegert |
Posted: Sat Jun 20, 2009 11:43 pm Post subject: |
|
|
 Apprentice
Joined: 05 Aug 2001 Posts: 29
|
..OK, but in my case the flow which contains the Label nodes isn't a subflow from the flow which contains the RouteToLabel Flow.
The esql in the compute node which sets up the routerlist contains the statement / pointer "BROKER SCHEMA SUBFLOW.ERROR_HANDLING" which is the broker schema of the flow containing the Label nodes. But that doesn't seem to work.
The point is, it only works if the flow containing the Label nodes is a real subflow of the flow containing the RouteToLabel flow, right?
Thanks for answers
Marc |
|
Back to top |
|
 |
Vitor |
Posted: Sun Jun 21, 2009 1:08 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
msiegert wrote: |
The point is, it only works if the flow containing the Label nodes is a real subflow of the flow containing the RouteToLabel flow, right? |
I'm interested how you'd have any other kind of sub-flow - is someone producing "designer knock off" fake sub flows?
Seriously, and for the record, a label can only be routed to if it's in the same deployed flow as the route node. A flow is only a sub flow if it's merged up and deployed with it's main flow.
If you have, as it sounds like you have, a "sub flow" which offers error handling to a number of other flows and you're attempting to route to it, you'll find writing the errors to a central queue from which this sub flow reads an efffective solution.
Other solutions are of course undoubtably possible and may be better.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mymq |
Posted: Sun Jun 21, 2009 7:00 am Post subject: |
|
|
Centurion
Joined: 01 Mar 2007 Posts: 101 Location: US-Greenwille
|
Vitor is right. I dont think so it is right solution/design. _________________ --SRK-- |
|
Back to top |
|
 |
msiegert |
Posted: Sun Jun 21, 2009 10:28 pm Post subject: |
|
|
 Apprentice
Joined: 05 Aug 2001 Posts: 29
|
...thanks so far. All I wanted to know is, if it is possible to route messages from one flow to another flow (not subflow) using RouteToLabel an Label. And like I expected, it is not possible.
regards Marc _________________ ____________________
Marc Siegert
MQSeries Specialist
eBusiness Solution Advisor |
|
Back to top |
|
 |
HOMETOWN47 |
Posted: Mon Jun 22, 2009 5:15 am Post subject: |
|
|
Apprentice
Joined: 25 Mar 2003 Posts: 34
|
Of sorts you can combine the RouteToLabel and Label to then route the message via an MQ output node. If the output node is the input to the other flow then problem solved... |
|
Back to top |
|
 |
|