|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Subflow Identify calling Main flow and node |
« View previous topic :: View next topic » |
Author |
Message
|
matuwe |
Posted: Tue May 25, 2010 4:51 am Post subject: Subflow Identify calling Main flow and node |
|
|
 Master
Joined: 05 Dec 2007 Posts: 296
|
Hi,
Please help, I need to create a subflow that would be used for logging. I need to pick up the mainflow that contains the subflow and the node which called the subflow. This is the only way that I can think of dynamic way to figure out which logging event is to be logged.
I am not sure if the design is possible(realistic) , but I wanted to do as dynamic as possible. |
|
Back to top |
|
 |
mqming |
Posted: Tue May 25, 2010 7:44 am Post subject: |
|
|
Newbie
Joined: 21 Apr 2010 Posts: 3
|
IMO, isn't that more reasonable to determine which event to log based on the what message comes into the subflow, instead of based on which node/main flow calls the subflow? |
|
Back to top |
|
 |
fatherjack |
Posted: Tue May 25, 2010 8:16 am Post subject: Re: Subflow Identify calling Main flow and node |
|
|
 Knight
Joined: 14 Apr 2010 Posts: 522 Location: Craggy Island
|
matuwe wrote: |
I need to pick up the mainflow that contains the subflow and the node which called the subflow. |
There's a whole bunch of message flow and node properties you can access. See the Broker Properties section in the ESQL Reference. But if you want to access a previous node's properties after the flow has entered the subflow, I think you'll need to pass them in the environment or local environment. _________________ Never let the facts get in the way of a good theory. |
|
Back to top |
|
 |
matuwe |
Posted: Tue May 25, 2010 10:41 pm Post subject: |
|
|
 Master
Joined: 05 Dec 2007 Posts: 296
|
Thanks for the response. I am trying to send the event to be logged, but I am a bit relactant to put a compute node infront of every note that needs to send and event, SO I was hoping to find a simple generic way to have one subflow that can do it.
Is there any otherway to send out event message to a queue, without actually writing ESQL code to hardcode the event after every node?  |
|
Back to top |
|
 |
Esa |
Posted: Tue May 25, 2010 11:00 pm Post subject: |
|
|
 Grand Master
Joined: 22 May 2008 Posts: 1387 Location: Finland
|
matuwe wrote: |
Is there any otherway to send out event message to a queue, without actually writing ESQL code to hardcode the event after every node?  |
Yes, MB version 7 supports Common Event Infrastucture. You can just configure a node to emit events. The events are published to system topics. If you want to use CEI, you are actually supposed to buy WebSphere Business Monitor, which is as far as I know much more expensive than Message Broker. But you can as well subscribe to those topics, examine the messages and write you own monitoring application. I am not saying that it will be easy, but that is what I would try if I were you.
Take a look at
http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac37850_.htm |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|