2.2.5.1.2.2 CompoundMessageHeader

The CompoundMessageHeader contains information about the SRMP compound message, as specified in [MC-MQSRM] section 2.2.2. This header MUST be present only if the UserHeader.Flags.AH bit field is set.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

HeaderId

Reserved

HTTPBodySize

MsgBodySize

MsgBodyOffset

Data (variable)

...

HeaderId (2 bytes): A USHORT ([MS-DTYP] section 2.2.58) that specifies the identification number of the header.

Reserved (2 bytes): A USHORT that MUST be ignored.

HTTPBodySize (4 bytes): A ULONG ([MS-DTYP] section 2.2.51) that MUST be the size of the Data field in bytes.

MsgBodySize (4 bytes): A ULONG that MUST be the size, in bytes, of the message body within the Data field.

MsgBodyOffset (4 bytes): A ULONG that MUST be set to the offset of the message body within the Data field.

Data (variable): Specifies an array of bytes that contains the SRMP message, including the HTTP POST message that carried the SRMP message. More details are specified in [MC-MQSRM] section 4.1.