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 IBM MQ Support » Service Interval Event question - Help!!

Post new topic  Reply to topic
 Service Interval Event question - Help!! « View previous topic :: View next topic » 
Author Message
RAJESHRAMAKRISHNAN
PostPosted: Wed Dec 08, 2004 8:50 pm    Post subject: Service Interval Event question - Help!! Reply with quote

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
View user's profile Send private message
EddieA
PostPosted: Thu Dec 09, 2004 9:47 am    Post subject: Reply with quote

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
View user's profile Send private message
JLRowe
PostPosted: Thu Dec 09, 2004 10:00 am    Post subject: Reply with quote

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
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 IBM MQ Support » Service Interval Event question - Help!!
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.