Trigger monitors
To a queue manager, a trigger monitor is like any other application that serves a queue. However, a trigger monitor serves initiation queues.
A trigger monitor is usually a continuously-running program. When a trigger message arrives on an initiation queue, the trigger monitor retrieves that message. It uses information in the message to issue a command to start the application that is to process the messages on the application queue.
The trigger monitor must pass sufficient information to the program that it is starting so that the program can perform the correct actions on the correct application queue.
A channel initiator is an example of a special type of trigger monitor for message channel agents. In this situation however, we must use either trigger type FIRST or DEPTH.
- Trigger monitors on UNIX and Windows systems
This topic contains information about trigger monitors provided on UNIX and Windows systems.- Trigger monitors on IBM i
On IBM i, instead of the runmqtrm control command, use the IBM MQ for IBM i CL command STRMQMTRM.Parent topic: Starting IBM MQ applications using triggers