ChannelEvent (character string)
Determines whether or not channel event messages are generated.
This attribute determines whether channel event messages are put onto the SYSTEM.ADMIN.CHANNEL.EVENT queue, and if so, what type of messages are queued (for example 'channel started', 'channel stopped', 'channel not activated'). Prior to the implementation of this attribute, the only way of preventing channel event messages from being queued was to delete the target queue).
This attribute also allows you to collect IMS bridge events only (because we can now switch channel events off, they do not get put onto the same queue). The same applies to SSL events which can also be collected without having to collect channel events as well.
This attribute also allows you to collect 'interesting' events only (for example when channels have errors, not when they start and stop normally).
The value for the ChannelEvent attribute can be one of the following:
- MQEVR_EXCEPTION (only the following channel events are generated: MQRC_CHANNEL_ACTIVATED, MQRC_CHANNEL_CONV_ERROR, MQRC_CHANNEL_NOT_ACTIVATED, MQRC_CHANNEL_STOPPED, CHANNEL_STOPPED_BY_USER).
- MQEVR_ENABLED (all channel events are generated; that is, in addition to the events generated by MQEVR_EXCEPTION, the MQRC_CHANNEL_STARTED, and MQRC_CHANNEL_STOPPED events are also generated).
- MQEVR_DISABLED (no channel events are generated; this is the queue manager initial default value).
To determine the value of this attribute, use the MQIA_CHANNEL_EVENT selector with the MQINQ call.