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 » Any suggested method for counting events within a flow

Post new topic  Reply to topic
 Any suggested method for counting events within a flow « View previous topic :: View next topic » 
Author Message
jrsetters
PostPosted: Tue Aug 21, 2012 6:00 am    Post subject: Any suggested method for counting events within a flow Reply with quote

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
View user's profile Send private message
lancelotlinc
PostPosted: Tue Aug 21, 2012 6:05 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

You can use a Singleton, JMX or solidDb for tracking historical status.

http://www.mqseries.net/phpBB2/viewtopic.php?t=56909&start=0&postdays=0&postorder=asc&highlight=
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Tue Aug 21, 2012 6:10 am    Post subject: Reply with quote

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
View user's profile Send private message
mgk
PostPosted: Tue Aug 21, 2012 6:43 am    Post subject: Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Tue Aug 21, 2012 7:06 am    Post subject: Reply with quote

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
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 » Any suggested method for counting events within a flow
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.