ChannelEvent (MQLONG)

This specifies whether channel events are generated.

It is one of the following values:
MQEVR_EXCEPTION
Only generate the following channel events:
  • MQRC_CHANNEL_ACTIVATED
  • MQRC_CHANNEL_CONV_ERROR
  • MQRC_CHANNEL_NOT_ACTIVATED
  • MQRC_CHANNEL_STOPPED with the following ReasonQualifiers:
    • MQRQ_CHANNEL_STOPPED_ERROR
    • MQRQ_CHANNEL_STOPPED_RETRY
    • MQRQ_CHANNEL_STOPPED_DISABLED
    MQRC_CHANNEL_STOPPED_BY_USER
MQEVR_ENABLED
Generate all channel events. That is, in addition to those generated by EXCEPTION, generate the following channel events:
  • MQRC_CHANNEL_STARTED
  • MQRC_CHANNEL_STOPPED with the following ReasonQualifier:
    • MQRQ_CHANNEL_STOPPED_OK
MQEVR_DISABLED
Do not generate channel events; this is the default value.

To determine the value of this attribute, use the MQIA_CHANNEL_EVENT selector with the MQINQ call.