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 |
Related concepts
WebSphere MQ Telemetry Transport
Related reference
WebSphere MQ Telemetry Transport variable header
CONNACK Acknowledge connection request
WebSphere MQ Telemetry Transport protocol name
WebSphere MQ Telemetry Transport protocol version
WebSphere MQ Telemetry Transport connect flags
WebSphere MQ Telemetry Transport Keep Alive timer
WebSphere MQ Telemetry Transport topic name
WebSphere MQ Telemetry Transport message identifier
Notices |
Trademarks |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
ac11530_ |