Assume that the queue manager: mq manager: MQ. Orange, and the local queue MQ queue: Qu. Local are defined;
(1) define a trigger process (for example, triggetmessage) in the process, and enter the Application Path (for example, "E: \ release \ getmessge.exe") at the "Application ID ");
(2) create a startup queue Qu. ini. The START queue is also a local queue, and its type is WebSphere MQ default initiation queue. Set the trigger control to "open" and select the corresponding trigger logical conditions (for example, "first", "Every", and "depth ");
(3) Open the local queue Qu. local, select trigger, enter the triggetmessage created above in the process name, and enter Qu in the initial queue. INI; set the trigger control to "open", and select the corresponding trigger logical conditions (for example, "first", "Every", and "depth") based on application requirements ");
(4) The first three parts are configuration preparations. Now you need to open the trigger monitor and enter the mqsc command in the CMD command line:Runmqtrm-MMQ. Orange-QQu. ini
(5) Now you can test based on the trigger condition.