The message identifier is present in the variable header of the following WebSphere MQ Telemetry Transport messages: PUBLISH, PUBACK, PUBREC, PUBREL, PUBCOMP, SUBSCRIBE, SUBACK, UNSUBSCRIBE, UNSUBACK.
The Message Identifier (Message ID) field is only present in messages where the QoS bits in the fixed header indicate QoS levels 1 or 2. See Quality of Service levels and flows for more information.
The Message ID is a 16-bit unsigned integer. It typically increases by exactly one from one message to the next, but is not required to do so. This assumes that there are never more than 65,535 messages "in flight" between one particular client-broker pair at any time.
The ordering of the two bytes of the Message Identifier is MSB, then LSB (big-endian).
Do not use Message ID 0. It is reserved as an invalid Message ID.
bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|
Message Identifier MSB | ||||||||
Message Identifier LSB |
Notices |
Trademarks |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
ac11550_ |