|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Service Interval Event question - Help!! |
« View previous topic :: View next topic » |
Author |
Message
|
RAJESHRAMAKRISHNAN |
Posted: Wed Dec 08, 2004 8:50 pm Post subject: Service Interval Event question - Help!! |
|
|
Voyager
Joined: 01 May 2004 Posts: 96
|
Hi,
My requirement is to send an alert message to the administrator if a message stays in a queue for more than "X" seconds. I initially planned to use the performance events - By setting the service interval event to some 'Y' Seconds and monitoring for High Depth events.The problem is that this High Depth event messages are fired only when an MQGet(In normal or Browse mode) or MQPut is done on the queue.
On top of this my messages are going to have expiry time set.One idea that comes to my mind is to read the messages in Browse mode(Thus not relying on Event messages) and calculating the time that the message has spent in the queue.
Question is whether we can still use the Service interval Event to acheive what I want.
Thanks very much
Rajesh |
|
Back to top |
|
 |
EddieA |
Posted: Thu Dec 09, 2004 9:47 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Quote: |
The problem is that this High Depth event messages are fired only when an MQGet(In normal or Browse mode) or MQPut is done on the queue |
I'm not sure why a High Depth Event would be triggered by a GET. That's reducing the queue depth. But, I would think that it's obvious that a PUT would trigger the event, because it's the PUT that makes the queue depth hit the limit.
BTW If you are going to use the Low/High/Full events, then re the manual very carefully as to when these events get reset. It's not what you would think.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
JLRowe |
Posted: Thu Dec 09, 2004 10:00 am Post subject: |
|
|
 Yatiri
Joined: 25 May 2002 Posts: 664 Location: South East London
|
I wanted to do the same thing with queue service interval events, to check if a message consumer had died on an infrequently used queue. I did consider putting a message within syncpoint and then rolling back, to coax the event message out, but decided it was too messy.
There is perhaps another option, there is a PCF message to reset queue statistics, it tells you the number of messages put/got, and the peak depth since the last reset, have a look to see if it fits your requirements. |
|
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
|
|
|
|