|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
OS390 MQ 2.1 Question |
« View previous topic :: View next topic » |
Author |
Message
|
psanders |
Posted: Fri Nov 14, 2003 8:43 am Post subject: OS390 MQ 2.1 Question |
|
|
Apprentice
Joined: 02 Apr 2002 Posts: 27
|
I'm sure this will turn out to be something stupid. That said, I have a queue with triggger type of depth and a trigger depth of 1. When I change trigger set to Y it changes back to N.
Oddly this does not happen when the trigger type is set to first.
Any ideas what is going on here? |
|
Back to top |
|
 |
mrlinux |
Posted: Fri Nov 14, 2003 8:49 am Post subject: |
|
|
 Grand Master
Joined: 14 Feb 2002 Posts: 1261 Location: Detroit,MI USA
|
Well you are using an old version of MQSeries, I cant remeber that version to well, but it did have strange behaviors. _________________ Jeff
IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries |
|
Back to top |
|
 |
bower5932 |
Posted: Fri Nov 14, 2003 10:35 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
There is a comment in the Application Programming Guide:
Quote: |
With triggering by depth, the queue manager disables triggering (using the TriggerControl attribute) after it creates a trigger message. Your application must re-enable triggering itself (by using the MQSET call) after this has happened. |
Page 205 of my manual. Sounds like it is working as designed. |
|
Back to top |
|
 |
kman |
Posted: Sun Nov 16, 2003 10:08 pm Post subject: |
|
|
Partisan
Joined: 21 Jan 2003 Posts: 309 Location: Kuala Lumpur, Malaysia
|
Apart from what is written in the manual, I might think that this is because the depth is at 1. So when the message comes in, it sets off the trigger. So for subesquent message in the queue, when it has not reached 0 yet, the trigger remains at N. Because it is supposed to trigger only after the message depth 1 comes in.
I maybe wrong in this, but is that the case? That there were messages coming in after you set trigger to Y ? |
|
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
|
|
|
|