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 » Mainframe, CICS, TXSeries » Trigger event occuring with no message

Post new topic  Reply to topic Goto page Previous  1, 2
 Trigger event occuring with no message « View previous topic :: View next topic » 
Author Message
KathyB
PostPosted: Tue Jul 12, 2005 11:28 am    Post subject: Trigger event occuring with no message Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Tue Jul 12, 2005 1:02 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
View user's profile Send private message Send e-mail
PeterPotkay
PostPosted: Tue Jul 12, 2005 1:32 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7717

?

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
View user's profile Send private message
KathyB
PostPosted: Wed Jul 13, 2005 11:20 am    Post subject: Trigger event occuring with no message Reply with quote

Apprentice

Joined: 02 Feb 2004
Posts: 30

I also took your recommendation about changing the trigger interval. Thanks again.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » Mainframe, CICS, TXSeries » Trigger event occuring with no message
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.