The connect return code is resent in the variable header of a WebSphere MQ Telemetry Transport CONNACK message.
This field defines a one byte unsigned return code. The meanings of the values, shown in the tables below, are specific to the message type. A return code of zero (0) usually indicates success.
Enumeration | HEX | Meaning |
---|---|---|
0 | 0x00 | Connection Accepted |
1 | 0x01 | Connection Refused: unacceptable protocol version |
2 | 0x02 | Connection Refused: identifier rejected |
3 | 0x03 | Connection Refused: broker unavailable |
4-255 | Reserved for future use |
bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
---|---|---|---|---|---|---|---|---|
Return Code |