MQMD settings for publications forwarded by a queue manager

A queue manager uses these settings of fields in the message descriptor (MQMD) when it sends a publication to a subscriber. All other fields in the MQMD are set to their default values.

    Report
    Report is set to MQRO_NONE.

    MsgType
    MsgType is set to MQMT_DATAGRAM.

    Expiry
    Expiry is set to the value in the Publish message received from the publisher. In the case of a retained message, the time outstanding is reduced by the approximate time that the message has been at the queue manager.

    Format
    Format is set to MQFMT_RF_HEADER_2

    MsgId
    MsgId is set to a unique value.

    CorrelId
    If CorrelId is part of the subscriber's identity, this is the value specified by the subscriber when registering. Otherwise, it is a non-zero value chosen by the queue manager.

    Priority
    Priority takes the value set by the publisher, or as resolved if the publisher specified MQPRI_PRIORITY_AS_Q_DEF.

    Persistence
    Persistence takes the value set by the publisher, or as resolved if the publisher specified MQPER_PERSISTENCE_AS_Q_DEF, unless specified otherwise in the Register Subscriber message for the subscriber to which this publication is being sent.

    ReplyToQ
    ReplyToQ is set to blanks.

    ReplyToQMgr
    ReplyToQMgr is set to the name of the queue manager.

    UserIdentifier
    UserIdentifier is the subscriber's user identifier, as set when the subscriber registered.

    AccountingToken
    AccountingToken is the subscriber's accounting token, as set when the subscriber first registered.

    ApplIdentityData
    ApplIdentityData is the subscriber's application identity data, as set when the subscriber first registered.

    PutApplType
    PutApplType is set to MQAT_BROKER.

    PutApplName
    PutApplName is set to the first 28 characters of the name of the queue manager.

    PutDate
    PutDate is the date when the message was put.

    PutTime
    PutTime is the time when the message was put.

    ApplOriginData
    ApplOriginData is set to blanks.

Parent topic: Queued publish/subscribe command messages