Start and stop the channel initiator
Triggering is implemented using the channel initiator process.
This channel initiator process is started with the MQSC command START CHINIT. Unless we are using the default initiation queue, specify the name of the initiation queue on the command. For example, to use the START CHINIT command to start queue IQ for the default queue manager, enter:START CHINIT INITQ(IQ)By default, a channel initiator is started automatically using the default initiation queue, SYSTEM.CHANNEL.INITQ. To start all your channel initiators manually, follow these steps:
- Create and start the queue manager.
- Alter the queue manager's SCHINIT property to MANUAL
- End and restart the queue manager
In IBM MQ for Multiplatforms systems, a channel initiator is started automatically. The number of channel initiators that we can start is limited. The default and maximum value is 3. We can change this using MAXINITIATORS in the qm.ini file for UNIX and Linux systems, and in the registry for Windows systems.
See IBM MQ Control commands for details of the run channel initiator command runmqchi, and the other control commands.
Stopping the channel initiator
The default channel initiator is started automatically when you start a queue manager. All channel initiators are stopped automatically when a queue manager is stopped.
Parent topic: Triggering channels