Home
Response messages
Each command message that the broker processes can generate a response message. A response message has a similar format to a command message; the NameValueString in the MQRFH header contains the response to the command. Response messages are sent to the queue identified by the ReplyToQ and ReplyToQMgr fields in the message descriptor of the original message.
The MsgType and Report options specified in the message descriptor of the command message, together with the success or failure of the command, determine whether response messages are sent or not. If no responses are requested, and the command message contains an error, it is discarded.
Notes:
- If there are multiple errors in a command message, a single response message is generated.
- Brokers do not request publishers or subscribers to generate responses.
Home