Joined: 13 Feb 2002 Posts: 10 Location: Kuala Lumpur Malaysia
Hi,
We have 3 messages in the queue and when the trigger suppose to start, the application system is down for 10 mins. The 3 messages are still stuck in the queue. How this triggering started again? Assuming that no more incoming messages are expected to be in the queue. We're running on OS390 V2.1.
If no more message are going to arrive? Your sunk. You could manually start triggering yourself by turning triggering off and then back on for this queue.
If another message would arrive, you could take advantage of the Trigger Interval parameter on the QM. If you set it to 300000 (5 minutes), once 5 minutes goes by and another message lands, the trigger will fire (even if the queue depth is not going 0 to 1 but 3 to 4)
Whenever the init queue is reopened, the QM evaluates if there are any queues out there where triggering should have occured. It does this regardless if another message lands on the queue or not. So if you wanna do something funky, have your trigger monitor stop and start on a schedule. It will automatically trigger without the arrival of another message.
_________________ Peter Potkay
Keep Calm and MQ On
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