Posted: Tue Oct 19, 2004 8:37 am Post subject: Queue Depth event parameters
Newbie
Joined: 19 Oct 2004 Posts: 3
Hi folks,
I am just looking at events for queue depths. I am hosting an application (with a bug in it) that puts messages to a queue and never removes them. For the moment we are removing these messages when the queue triggers it's queue depth high event. Now, people on the team have been removing the messages with the "clear ql()" MQSC command. It has become apparent that this command does not reset the QDPHIEV and QDPLOEV parameters on the queue. So when the app continues to put messages into the queue and we next hit the upper threshold, QDPHIEV is disabled and so an event is not generated and we do not get an alert.
So I am in the process of infomring the team not to use this command to clear the queue but instead to use a program which does get's.
I am just interested to know if this is the expected behaviour when using the clear command?
I would say it was the expected behaviour, yes. The description in the manual states that the events are enabled and genereated only in response to MQPUT and MQGET API calls.
You could continue to use CLEAR QL as long as you alse issued an ALTER QL(NAME) QDPHIEV(ENABLED) etc on the same queue.
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