简体   繁体   中英

How can I configure triggering in IBM WebSphere MQ Explorer?

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.

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 IFF 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!

这里显示了一个示例,该示例在有消息到达传输队列时触发发送者通道:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM