3.1.7.1.1 General Processing

The protocol MUST serialize the message to be sent by performing the following actions:

  • If iPosition.MessagePosition.MessageReference.Identifier is set to 0x00000000, the iPosition.MessagePosition.MessageReference.Identifier MUST be set to the MessageIdOrdinal ADM element, and the MessageIdOrdinal ADM element MUST be incremented by 1.

  • Generate a Serialize Message to Buffer ([MS-MQDMPR] section 3.1.7.1.32) event with the following arguments:

    • iMessage: the Message ([MS-MQDMPR] section 3.1.1.12) ADM element instance referenced by iPosition.MessagePosition.MessageReference.

    • iBuffer: the UserMessage Packet ([MS-MQMQ] section 2.2.20) referenced by iPosition.UserMessage.