Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I'm facing problem in triggering ap

Status
Not open for further replies.

topgunb2

Programmer
Feb 26, 2002
1
0
0
AU
I'm facing problem in triggering application in certain case.
1. I've executed all the prerequisites for tiggering an application thru trigger monitor
2. The trigger monitor is running, when i send messgae on the queue it triggers my application and everything runs fine.
3. When I turn off the trigger monitor and send messgae on the queue (say 4 messages) and then turn on the trigger monitor, ideally the trigger should fire 4 times as the trigger type of the queue on which triggering event is set is "Every".
4. The behaviour is very random, when I start the trigger monitor then at times it triggers for all the messages and at times it triggers only once.
5. I'm running the trigger monitor on seperate machine and have mqclient thru which my application connects to the server.

Please let me know , in case i'm missing something
 
am really surprised to hear something like 4 can happen. In my experience then new triger app will not be triggered untill the earlier one closes ! ...
 
The Application Programming Guide suggests that only a single Trigger Message will be generated if the trigger monitor is started while there are 1 or more messages on the queue.

A trigger message will not be generated while the application queue is open if triggering is either First or Depth.


Cheers,
Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top