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 » IBM MQ Java / JMS » how to get message count in every flow?

Post new topic  Reply to topic
 how to get message count in every flow? « View previous topic :: View next topic » 
Author Message
ghsman
PostPosted: Sun Nov 11, 2012 3:13 am    Post subject: how to get message count in every flow? Reply with quote

Novice

Joined: 11 Nov 2012
Posts: 10

i have a sub flow that all my interfaces are using for Logging using ESQL
the thing is that each message came create different message in the Log
and i want to create a file with specific name for each interface and i want to create a counter to count how many message that i have received for each interface .
So how to access the same file every time and how to write the current count

E.X
first time message came it go to Log Flow and some .txt file open and take that number and add 1 and close the file.

how?[/img]
Back to top
View user's profile Send private message
Vitor
PostPosted: Sun Nov 11, 2012 5:33 am    Post subject: Re: how to get message count in every flow? Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

ghsman wrote:
i want to create a file with specific name for each interface and i want to create a counter to count how many message that i have received for each interface .
So how to access the same file every time and how to write the current count


Why do it that way? Why not use the inbuilt monitoring facilities of WMB to report how many messages the main flow(s) are processing, capture that information and record that in a file(s)?

Saves you having to add a subflow to each main flow that needs a count.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » IBM MQ Java / JMS » how to get message count in every 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.