|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Client Trigger Monitor picking up "ghost" trigger messages? |
« View previous topic :: View next topic » |
Author |
Message
|
PeterPotkay |
Posted: Mon Jan 28, 2002 9:11 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Q1 and Q2 are both triggered on Every with an initiation queue of INIT.QUEUE. Q1 has a process that will start the calculator, Q2 has a process that will start a little VB app that displays the current time.
At the start of this test (testing automatic startup of the client trigger monitor), both queues have a depth of 10, and the initiation queue has a depth of zero. I then start the client trigger monitor on the Client machine (WIN2000 laptop). I get one instance of the calculator start up, and then when I close it, one VB clock pops up. But there were no messages in the init queue! Why/How did the Trigger Monitor start these apps?
I then CTRL-C the trigger monitor to end it. IPROCS is 1 on the init queue for about 10 seconds after I kill the trigger monitor. If I start another Trigger monitor while IPROCS>0 on the init queue, the trigger monitor starts up ok, but no apps get started (this makes sense, as there are no messages on the init queue). BUT, if I kill all trigger monitors watching this init queue and wait till the IPROCS goes to zero (about 10-15 seconds), and then restart the trigger monitor, the 2 apps start up again!
What is going on? During this entire test, no new messages were put to either triggered queue and the queue manager was up and running the whole time.
_________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
PeterPotkay |
Posted: Mon Jan 28, 2002 1:20 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
Solved. One of the events that causes the triggered queues to be looked at to see if a trigger message is needed is the IPROCS of an INIT queue going from 0 to 1. (Point #13.D in the Application Programming Guide under Trigger Events.)
Thanks to Dennis Miller.
_________________ Peter Potkay
Keep Calm and MQ On |
|
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
|
|
|
|