|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
Trigger event occuring with no message |
« View previous topic :: View next topic » |
Author |
Message
|
KathyB |
Posted: Tue Jul 12, 2005 11:28 am Post subject: Trigger event occuring with no message |
|
|
Apprentice
Joined: 02 Feb 2004 Posts: 30
|
Just wanted to thank everyone for all your input.
I have gone back to the user and made the recommendation that he gracefully handle an at-end condition when there are no more messages to get, and not consider this an error. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Jul 12, 2005 1:02 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Just make sure the trigint on the qmgr is not default.
We have ours at 300,000 ==> 5 mins
This way you won't have a message waiting for over 10 days to be finally triggered when it missed the trigger the first time because it was not committed....
Enjoy  |
|
Back to top |
|
 |
PeterPotkay |
Posted: Tue Jul 12, 2005 1:32 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
?
If the message was not comitted, it does not need a trigger message. If it was committed, it gets a trigger message.
Setting Trigger Interval to a value other than 999999999 is a good thing, we also use 300000. It is to help out in the situation where you somehow find yourself with a q depth over 0, but the app did not consume the message. As more messages land, no more trigger messages are being generated (q is not going from 0-1). And now you have a q piling up. ("MQ is broken!")
But if you have trig int set to 300000, the first time another message lands on the q after 300000 ms, a trigger message will be genereated, even though the q is not going from 0-1.
The most common way you get yourself in this scenario is Message #1 lands, the app is triggered, but it bombs before it gets to MQOPEN the queue (maybe a DB or something was N/A). But if more messages keep landing, after 300000 ms the app will be retriggered (even though the q is not going from 0-1), and hopefully the app will make it to the MQOPEN this time (DB back up).
The most common thing people overlook with Trigger Int is that it requires additional MQ messages to land on that triggered q. You will not get more trigger messages just becase the time went by. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
KathyB |
Posted: Wed Jul 13, 2005 11:20 am Post subject: Trigger event occuring with no message |
|
|
Apprentice
Joined: 02 Feb 2004 Posts: 30
|
I also took your recommendation about changing the trigger interval. Thanks again. |
|
Back to top |
|
 |
|
|
|
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
|
|
|
|