|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Any suggested method for counting events within a flow |
« View previous topic :: View next topic » |
Author |
Message
|
jrsetters |
Posted: Tue Aug 21, 2012 6:00 am Post subject: Any suggested method for counting events within a flow |
|
|
 Acolyte
Joined: 24 Aug 2011 Posts: 72 Location: Cincinnati, OH
|
Our basic outbound workflow uses the GenericHL7Output node, which is essentially an enhanced TCP/IP node, in order to send HL7 messages to an external system.
Right now we set the node to retry each message up to 5 times before skipping it. Is there some way for us to track this outside of the flow? What we'd like to do is count how many messages have been skipped and, if it reaches say 5 in a row, trigger an email alert. Once a message is successfully sent, we'd want to reset the count to 0.
Basically we want to avoid having large numbers of messages skipped because the receiving system goes down for some reason.
We access a number of useful environmental variables for logging purposes, including exception text that covers many message flow scenarios. We'd love to be able to count and report on these as well (how many messages were rejected and so forth). |
|
Back to top |
|
 |
lancelotlinc |
Posted: Tue Aug 21, 2012 6:05 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
mqjeff |
Posted: Tue Aug 21, 2012 6:10 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You can enable monitoring events on your flow and extract a variety of different kinds of information, potentially including data set in the Environment tree. |
|
Back to top |
|
 |
mgk |
Posted: Tue Aug 21, 2012 6:43 am Post subject: |
|
|
 Padawan
Joined: 31 Jul 2003 Posts: 1642
|
You can do this within a flow by using a SHARED variable (of type ROW or have several Integers for counts).
In 8.0.0.1 you can able use the built in cache support that allows you to do the across flows and/or across execution groups and even across brokers as well if you need to.
Kind regards, _________________ MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Aug 21, 2012 7:06 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
mgk wrote: |
You can do this within a flow by using a SHARED variable (of type ROW or have several Integers for counts).
In 8.0.0.1 you can able use the built in cache support that allows you to do the across flows and/or across execution groups and even across brokers as well if you need to. |
I don't think this gives them visibility to the data being stored, however. |
|
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
|
|
|
|