Home
Broker responses
A Broker Response message is sent from a broker to the ReplyToQ of a publisher or a subscriber, to indicate the success or failure of a command message received by the broker.
The standard parameters listed below are always returned in the order shown. In the case where an error is being reported, they can be followed by an optional parameter (depending on the command message that failed) that gives more information about the error.
With multiple errors, the group of standard and optional parameters are repeated as necessary.
The NameValueString of the command message that caused an error is usually appended to the broker response message following the MQRFH structure, to assist in diagnosis of the error. However, in the case of an MQRC_RFH_ERROR or MQRCCF_MSG_LENGTH_ERROR, the NameValueString of the command message that caused the error is not appended to the broker response message.
Home