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 Process Server (WID/WPS/WAS+) » Get "parent" module name from inside a subflow

Post new topic  Reply to topic
 Get "parent" module name from inside a subflow « View previous topic :: View next topic » 
Author Message
eskil
PostPosted: Mon Aug 16, 2010 6:28 am    Post subject: Get "parent" module name from inside a subflow Reply with quote

Novice

Joined: 25 Nov 2008
Posts: 14

Hi.

Currently have mediation subflow that will be reused cross alot of modules. Inside the subflow a DB lookup will be performed based on the "parent" module name. I can't check the incoming BO type or namespace in the body, because the input to the subflow is "undefined".

Anyone have any ideas how to get the name using a Custom Mediation primitive and Java?

Thanks
Emil
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Aug 16, 2010 10:32 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20697
Location: LI,NY

The subflow gets incorporated into the main flow. You can always retrieve the flow's name.

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
eskil
PostPosted: Mon Aug 16, 2010 11:55 pm    Post subject: Reply with quote

Novice

Joined: 25 Nov 2008
Posts: 14

fjb_saper wrote:
The subflow gets incorporated into the main flow. You can always retrieve the flow's name.

Have fun


Ok, and how do you retrieve the name then?

And the subflow might be exported into a .jar file and installed on the server, so it's not always built into the "main" package.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Aug 17, 2010 9:29 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20697
Location: LI,NY

Check it out in the infocenter. The methods to retrieve the flow name are well documented.

And I need to caution you on your interpretation. I never said that the subflow was integrated into the main "package". I said main "flow".


_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Tue Aug 17, 2010 10:12 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

fjb_saper wrote:
Check it out in the infocenter. The methods to retrieve the flow name are well documented.

And I need to caution you on your interpretation. I never said that the subflow was integrated into the main "package". I said main "flow".



Yes, FJ... but you're probably talking about a Message Broker process, and I'm reasonably sure that eskil is talking about a Process Server process...
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Aug 17, 2010 10:38 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20697
Location: LI,NY

mqjeff wrote:
fjb_saper wrote:
Check it out in the infocenter. The methods to retrieve the flow name are well documented.

And I need to caution you on your interpretation. I never said that the subflow was integrated into the main "package". I said main "flow".



Yes, FJ... but you're probably talking about a Message Broker process, and I'm reasonably sure that eskil is talking about a Process Server process...

Oops oops Thanks for noticing Jeff.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
fschofer
PostPosted: Thu Nov 25, 2010 6:46 am    Post subject: Reply with quote

Knight

Joined: 02 Jul 2001
Posts: 524
Location: Mainz, Germany

Hi Emil,

so far i know to get this from inside a mediation subflow

name of mediation primitive
this.getMediationServices().getMediationDisplayName()

name of transformation
this.getSCAServices().getComponentName()

name of the module
this.getSCAServices().getModuleName()

I am searching for a way to determine the tranformation operation name which uses a subflow.

Do you or someone else know a way how to achieve this ?

Regards
Frank
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Process Server (WID/WPS/WAS+) » Get "parent" module name from inside a subflow
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.