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 » General Discussion » Detecting Queue use

Post new topic  Reply to topic
 Detecting Queue use « View previous topic :: View next topic » 
Author Message
klamerus
PostPosted: Fri Jul 09, 2004 5:51 pm    Post subject: Detecting Queue use Reply with quote

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
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
PeterPotkay
PostPosted: Sat Jul 10, 2004 4:34 am    Post subject: Reply with quote

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
View user's profile Send private message
klamerus
PostPosted: Sat Jul 10, 2004 5:59 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
fjb_saper
PostPosted: Sat Jul 10, 2004 7:50 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » Detecting Queue use
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.