Author |
Message
|
Rangarajan |
Posted: Wed Sep 29, 2004 12:13 am Post subject: Setting 'IntervalValue' property for Qmgr |
|
|
Novice
Joined: 01 Aug 2002 Posts: 22
|
Hi,
I have set a default value of 999999999 secs to the IntervalValue property of Qmgr. I have a queue which is trigger enabled in the qmgr.
I put two trigger message into the Queue at the same time. What will happen to the second trigger message.
I understand that the second trigger message that is put into the queue within the specified trigger interval, will not be fired.
What will happen to this trigger message. Will it be fired after the value 'IntervalValue' of the qmgr is exceeded?
Can someone clarify this?
Thanx in advance
Rangarajan |
|
Back to top |
|
 |
siliconfish |
Posted: Wed Sep 29, 2004 12:38 am Post subject: |
|
|
 Master
Joined: 12 Aug 2002 Posts: 203 Location: USA
|
"You will not put a trigger message", when the TRIGGER conditions are satisfied on the TRIGGERED queue (like for exp : If the TRIGTYPE=DEPTH and TRIGDPTH=100 and the queue depth has reached 100), queue manager will put a message in the INITIATION Queue which will be picked up by the TRIGGER MONITOR for further action. |
|
Back to top |
|
 |
Rangarajan |
Posted: Wed Sep 29, 2004 1:06 am Post subject: |
|
|
Novice
Joined: 01 Aug 2002 Posts: 22
|
Hi,
When I refer as trigger message, I meant only those messages that falls into a queue and satisfy the trigger condition.
I also understand the trigger process which you have explained. But my question is, What will happen to the second message that satisfies the trigger condition (Iam putting two messages simultaneously, which satisfies trigger condition). Also i have set a default value of 999999999 to the IntervalValue property of Qmgr.
Thanx in advance
Rangarajan |
|
Back to top |
|
 |
siliconfish |
Posted: Wed Sep 29, 2004 1:23 am Post subject: |
|
|
 Master
Joined: 12 Aug 2002 Posts: 203 Location: USA
|
what are your TRIGGER conditions and can you explain little bit about how your messages are satisfying the TRIGGER conditions!
But in normal scenario , if your triggered application which is invoked by the trigmon processes the first message it can also process the second message unless you prevent it from doing so. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Sep 29, 2004 4:45 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
What happens does depend on the trigger settings on the queue. If the trigger type is set to FIRST, then you will get only one trigger.
If the trigger type is set to EVERY, then you might get two triggers. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
bower5932 |
Posted: Wed Sep 29, 2004 6:42 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
There are quite a few rules that get used to determine when a trigger message should or should not be sent. You might want to look over the triggering section of the Application Programming Guide for details. |
|
Back to top |
|
 |
|