|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
  |
|
Trigger Interval |
View previous topic :: View next topic |
Author |
Message
|
ashu |
Posted: Tue May 08, 2007 4:15 am Post subject: Trigger Interval |
|
|
 Centurion
Joined: 11 Nov 2006 Posts: 132
|
Hello,
I have read the text...but i'am unable to understand what a Trigger Interval in Qmgr properties is...
can anyone shed some light on it...
Regards, _________________ Ashu
"It is simple to be Happy but difficult to be Simple" |
|
Back to top |
|
 |
Vitor |
Posted: Tue May 08, 2007 4:34 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Quote: |
TRIGINT(integer)
A time interval expressed in milliseconds. The TRIGINT parameter is relevant only if the trigger type (TRIGTYPE) is set to FIRST (see “DEFINE QLOCAL” on page 172 for details). In this case trigger messages are normally generated only when a suitable message arrives on the queue, and the queue was previously empty. Under certain circumstances, however, an additional trigger message can be generated with FIRST triggering even if the queue was not empty. These additional trigger messages are not generated more often than every TRIGINT milliseconds. See the WebSphere MQ Application Programming Guide for more information. Specify a value in the range zero through 999 999 999. |
And
Quote: |
11. A suitable message is placed on the queue, for a TriggerType of MQTT_FIRST or MQTT_DEPTH, and the queue was not previously empty (MQTT_FIRST), or had TriggerDepth or more messages (MQTT_DEPTH)and conditions 2 through 10 (excluding 3) are satisfied, if in the case of MQTT_FIRST a sufficient interval (TriggerInterval queue-manager attribute) has elapsed since the last trigger message was written for this queue. This is to allow for a queue server that ends before processing all the messages on the queue. The purpose of the trigger interval is to reduce the number of duplicate trigger messages that are generated |
In short, it controls one of the preconditions for a trigger message to be generated. If all the other conditions are met, but a trigger message for that set of cirumstances was generated less than TRININT milliseconds ago, another one will not be raised. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|
|
  |
|
Page 1 of 1 |
|
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
|
|
|
|