Author |
Message
|
warrenpage |
Posted: Mon Jul 01, 2002 12:44 pm Post subject: How do I find MessageFlow name inside a compute node? |
|
|
Acolyte
Joined: 19 Feb 2002 Posts: 56 Location: Australia
|
Topic speaks for itself I guess..
How do I find MessageFlow name inside a compute node?
I want to be able to do this so that I can have a generic Compute node that processes data differently based on which Mainflow it is included in..
Any thoughts?
Thanks
Warren |
|
Back to top |
|
 |
kirani |
Posted: Mon Jul 01, 2002 3:10 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Unfortunately, there is no such facility available. What you can do is, set (hardcode) MessageFlow name in Environment Tree using some node in your main message flows. In a subflow, in compute node, you can retrieve Message Flow name from the Environment tree and process accordingly. _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
warrenpage |
Posted: Mon Jul 01, 2002 3:59 pm Post subject: |
|
|
Acolyte
Joined: 19 Feb 2002 Posts: 56 Location: Australia
|
Thanks,
That was my suspicion. The node we need it for is pretty much first in the flow, so adding a nother node just to set one variable, seemed a bit of overkill..
I think we will just use two different subflows, or key the change of the input queue name (in the MQMD) instead.
Warren |
|
Back to top |
|
 |
warrenpage |
Posted: Mon Jul 01, 2002 4:01 pm Post subject: |
|
|
Acolyte
Joined: 19 Feb 2002 Posts: 56 Location: Australia
|
I must admit though that I am suprised that it isn't available - since the debug tracing has the Main flow name everywhere.
It has to be available, so I would have thought an ESQL special variable would have held it..
Oh well... |
|
Back to top |
|
 |
kirani |
Posted: Mon Jul 01, 2002 5:07 pm Post subject: |
|
|
Jedi Knight
Joined: 05 Sep 2001 Posts: 3779 Location: Torrance, CA, USA
|
Yes, it is very surprising!! In fact, I am doing the same! It isn't overkill for me because I have to set few more global parameters.
Hopefully, future release will introduce this feature!  _________________ Kiran
IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries
|
|
Back to top |
|
 |
mpuetz |
Posted: Fri Jul 05, 2002 2:54 pm Post subject: |
|
|
Centurion
Joined: 05 Jul 2001 Posts: 149 Location: IBM/Central WebSphere Services
|
Hi,
actually there is way you can do that.
Throw a user exception and catch it.
The label field in the exception contains
the name of the message flow in the first part.
I know it's dirty and there should be a more direct
way, but you asked and here you go.
Cheers, _________________ Mathias Puetz
IBM/Central WebSphere Services
WebSphere Business Integration Specialist |
|
Back to top |
|
 |
|