Event message MQMD (message descriptor)

The message descriptor for an event message contains information that a system monitoring application can use, such as the message type and format, and the date and time that the message was put on the event queue.

The information in the descriptor informs a system management application that the message type is MQMT_DATAGRAM, and the message format is MQFMT_EVENT.

Many of the fields in an event message contain fixed data, which is supplied by the queue manager that generated the message. The MQMD also specifies the name of the queue manager (truncated to 28 characters) that put the message.

For an event message, the MQMD structure contains the following values:

    StrucId

    Version

    Report

    MsgType

    Expiry

    Feedback

    Encoding

    CodedCharSetId

    Format

    Priority

    Persistence

    MsgId

    CorrelId

    BackoutCount

    ReplyToQ

    ReplyToQMgr

    UserIdentifier

    AccountingToken

    ApplIdentityData

    PutApplType

    PutApplName

    PutDate

    PutTime

    ApplOriginData

Note: If Version is MQMD_VERSION_2, the following additional fields are present:

    GroupId

    MsgSeqNumber

    Offset

    MsgFlags

    OriginalLength