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 » Reach Node properties from ESQL?

Post new topic  Reply to topic
 Reach Node properties from ESQL? « View previous topic :: View next topic » 
Author Message
K_A
PostPosted: Fri Dec 03, 2004 7:42 am    Post subject: Reach Node properties from ESQL? Reply with quote

Apprentice

Joined: 10 Nov 2004
Posts: 32

Hi all

I want to develop a common subflow, to log things to a user database. There is a general log-table that I wish to maintain.

I want to make the subflow general in the way that a certain part of the content to be logged I want to have as a property on the subflow (e.g the developer of the main-flow should have to give the content as a property on the node).

How to do this?
Back to top
View user's profile Send private message
martinrydman
PostPosted: Sat Dec 04, 2004 9:20 am    Post subject: Reply with quote

Centurion

Joined: 30 Jan 2004
Posts: 139
Location: Gothenburg, Sweden

Hi,

to the best of my knwledge, this isn't possible, although it'd be neat. I usually pass data to the subflow using the Environment tree. Not as transparent, but it gets the job done

/Martin
Back to top
View user's profile Send private message
kirani
PostPosted: Sun Dec 05, 2004 11:44 pm    Post subject: Re: Reach Node properties from ESQL? Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

K_A wrote:
I want to have as a property on the subflow (e.g the developer of the main-flow should have to give the content as a property on the node).

What property do you want to expose? Can you explain?

Not sure if promoting property on nodes within subflow would help you.
_________________
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
K_A
PostPosted: Thu Dec 09, 2004 1:21 am    Post subject: Properties Reply with quote

Apprentice

Joined: 10 Nov 2004
Posts: 32

I want to have a common subflow for Logging to a common log table (Oracle). This subflow contains a Database node. Also it contains some try-catch stuff to take care of db access errors.
Now, In various mainflows I would like to use this subflow to log things, but the content of the log varies with the main flows.
Example: The log table has the columns
- "Invoking main flow name"
- "Timestamp"
- "Log message"

The first main flow would invoke the subflow and try to "call the subflow" with flow name = "FLOW A", while the next Mainflow would like to "call the subflow" with flow name = "FLOW B". Similarly the "Log Message" could differ depending on main flow, for instance "Message received" and "message sent to queue xyz"

To maintain a good design I would like to have "Invoking Flow Name" and "Log Message" as Properties on the subflow, so that when I have dragged the subflow into the workspace of the main one I would then like ti right-click the Subflow icon, select Properties, and be able to enter the values for "Invokling main flow name and Log message.

If this is not possible I need to preceede every occurence of my log subflow with a compute node, where I set the values of the above in parameters under Environment (that's the best way I can find).
I think this is a clumsy solution and that's why I ask, is there a better way?
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 » Reach Node properties from ESQL?
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.