Reputation: 33
I would like to write a .net Trigger Monitor. But at first I would like just to configure a triggered queue. In accordance with this url http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.csqzal.doc/fg13840a.gif when I configure application queue, after putting messages to application queue, messages should appear in initiation queue. But it does not happen and I cannot see any trigger messages in initiation queue. Please, help me to configure a simple example.
Upvotes: 2
Views: 1295
Reputation: 7525
Your question sounds like you are trying to cause trigger messages to prove that they go to the initiation queue (say by displaying the curdepth) and then next you will attach a trigger monitor program to that queue - once you know that trigger messages are going to the initiation queue.
This will not work I'm afraid. Trigger messages will only be produced on an initiation queue IF a trigger monitor program has the queue open for input. So in order to 'see' the messages go on the initiation queue, you must at minimum have some application with the initiation queue open for input. If you want to be able to display the curdepth and see the messages on the queue, you would need an application that wasn't going to immediately consume them of course!
Upvotes: 1
Reputation: 395
Here show your an example for tiggering a sender channel whenever there is message arrives transmission queue:
Upvotes: 0