Number of messages flowed through queue

486 views Asked by At

I have Queue A. I have used this in one of my message flow which is up and running. I want to know the number of message dropped in to the queue A on particular day or time interval.

Kindly help me in finding out this.

1

There are 1 answers

2
T.Rob On

Please have a look at the product manuals, in particular:

  • Queue statistics information tells how to enable queue statistics and ensure that you are collecting all the relevant data.
  • Displaying accounting and statistics information which explains, well, pretty much what the title says.
  • And to keep this on-topic for Stack Overflow, check out the Statistics messages format page which tells you how to programmatically access the queue stats messages. By writing your own code to collect the messages, you can store them to a database, save them off to a file, slice and dice the numbers for pie charts, whatever.

You did not mention which version of MQ that you are using and that is usually important. However, all modern versions of MQ have some queue stats instrumentation. The links I provided are from the v8.0 Knowledge Center.