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 do I find MessageFlow name inside a compute node?

Post new topic  Reply to topic
 How do I find MessageFlow name inside a compute node? « View previous topic :: View next topic » 
Author Message
warrenpage
PostPosted: Mon Jul 01, 2002 12:44 pm    Post subject: How do I find MessageFlow name inside a compute node? Reply with quote

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
View user's profile Send private message Yahoo Messenger MSN Messenger
kirani
PostPosted: Mon Jul 01, 2002 3:10 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
warrenpage
PostPosted: Mon Jul 01, 2002 3:59 pm    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger MSN Messenger
warrenpage
PostPosted: Mon Jul 01, 2002 4:01 pm    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger MSN Messenger
kirani
PostPosted: Mon Jul 01, 2002 5:07 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
mpuetz
PostPosted: Fri Jul 05, 2002 2:54 pm    Post subject: Reply with quote

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
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 do I find MessageFlow name inside 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.