Configuration event message format

Configuration events are PCF messages of standard Advanced Message Security format.

Possible values for the MQMD message descriptor can be found in Event message MQMD (message descriptor). Here are selected MQMD values:
Format = MQFMT_EVENT
Peristence = MQPER_PERSISTENCE_AS_Q_DEF
PutApplType = MQAT_QMGR           //for both CLI and command server

Message buffer consist of MQCFH structure and the parameter structure that follows it. Possible MQCFH values can be found in Event message MQCFH (PCF header).

Here are selected MQCFH values:
Type = MQCFT_EVENT
Command = MQCMD_CONFIG_EVENT
MsgSeqNumber = 1 or 2          // 2 will be in case of Change Object event
Control = MQCFC_LAST or MQCFC_NOT_LAST     //MQCFC_NOT_LAST will be in case of 1 Change Object event
ParameterCount = reflects number of PCF parameters following MQCFH
CompCode = MQCC_WARNING
Reason = one of {MQRC_CONFIG_CREATE_OBJECT, MQRC_CONFIG_CHANGE_OBJECT, MQRC_CONFIG_DELETE_OBJECT}

The parameters following MQCFH are:

    EventUserID

    SecurityId

    EventOrigin

    EventQMgr

    ObjectType

    PolicyName

    PolicyVersion

    TolerateFlag

    SignatureAlgorithm

    EncryptionAlgorithm

    SignerDNs

    RecipientDNs