|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Triggering |
« View previous topic :: View next topic » |
Author |
Message
|
ajaykumar |
Posted: Mon Nov 03, 2008 2:01 am Post subject: Triggering |
|
|
Novice
Joined: 20 Sep 2008 Posts: 10
|
Will i the queue manager put a trigger message in the initiation queue even if the message that is present in the actual queue is uncommitted. I found a strange behaviour whenever i start my application which polls on the initiation queue for trigger messages when there are already uncommitted messages in the queue the queuemanager puts a trigger message,but if i start my polling application and then put an uncommitted mesages in the actual queue then the queumanger doesnt put a trigger message. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Nov 03, 2008 2:30 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
There are a series of conditions that must be met for an initiation message to be sent. They're documented, and include more things than simply messages being on a queue.
I'm also interested to know why your application is polling the init queue rather than you using the supplied monitor? It's not wrong, but it does seem to be reinventing the wheel. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Mon Nov 03, 2008 6:08 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
The QM places a trigger message in the Initiation queue when all the trigger conditions have been met.
The QM doesn't commit the trigger message to the Initiation queue until the message that caused the trigger condiftion to be true is itself commited, or rolled back.
When a trigger message is produced by the QM and when a trigger message is consumed by the trigger monitor is not the same thing, although 99.9999% of the time they happen one after another so quickly it looks like one action.
There is a whole chapter on triggering in the MQ Application Programing Guide. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Nov 03, 2008 6:44 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Quote: |
There is a whole chapter on triggering in the MQ Application Programing Guide. |
Especially entertaining is the section "when triggers don't work." _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
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
|
|
|
|