|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Detecting Queue use |
« View previous topic :: View next topic » |
Author |
Message
|
klamerus |
Posted: Fri Jul 09, 2004 5:51 pm Post subject: Detecting Queue use |
|
|
 Disciple
Joined: 05 Jul 2004 Posts: 199 Location: Detroit, MI
|
We have an application that processes work from an MQ. This is on the Windows 2000 environment. I just posted on this earlier.
We have a program that pulls messages of the queue and processes them. Some of the messages come in with higher priority than others and move to the front.
So, the queue can be empty. It can be growing or shrinking. And even if its shrinking, the same message may be on the front of the queue.
Is there any way to check on whether work is flowing through the queue from a program? I can't check the queue depth. I can't check to see if the same message is first. Sometimes our programs get "stuck" and we would like to identify this situation.
Thanks,
Mark |
|
Back to top |
|
 |
PeterPotkay |
Posted: Sat Jul 10, 2004 4:34 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Check out Queue Statistics. When you check them, it will tell you since the last time you checked them how many message went into the queue, how many messages went out of the queue, and what was the highest depth of the queue.
Do a search on "Statistics" in the PCF and Command Interface Manual for more details.
Some monitoring programs, like QPASA, have this type of monitoring built into the product. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
klamerus |
Posted: Sat Jul 10, 2004 5:59 am Post subject: |
|
|
 Disciple
Joined: 05 Jul 2004 Posts: 199 Location: Detroit, MI
|
Thanks.
It seems to me # of objects that went out of the queue is what we want. Going in simply tells us it's receiving content, but going out obviously indicates the program (which the only thing that pulls from the queue) is still alive and working. |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Jul 10, 2004 7:50 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Hi Klamerus,
You need as well to make sure your agents handle the problem of a "Poison message" and put it either on the backout queue or on the Dead Letter Queue with the appropriate DLQ header.
Otherwise your statistics could say that your agents are running but all they really do is reading and rejecting the same message over and over again.
Have fun...
F.J.  |
|
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
|
|
|
|