A Broker Response message is sent from an integration node to the ReplyToQ of a publisher or a subscriber, to indicate the success or failure of a command message received by the integration node if the command message descriptor specified that a response is required.
The response message is contained within the NameValueData field of the MQRFH2 header, in a <pscr> folder.
In the case of a warning or error, the response message contains the <psc> folder from the command message as well as the <pscr> folder. The message data, if any, is not contained in the response message. In the case of an error, none of the message that caused an error has been processed; in the case of a warning, some of the message might have been processed successfully.
In the case of one or more errors, there is only one response folder, indicating the cause of the first error only. In the case of one or more warnings, there is a response folder for each warning.
<pscr>
<Completion>ok</Completion>
</pscr>
<pscr>
<Completion>error</Completion>
<Response>
<Reason>3150</Reason>
</Reponse>
</pscr>
<psc>
...
command message (to which
the integration node is responding)
...
</psc>
<pscr>
<Completion>warning</Completion>
<Response>
<Reason>3081</Reason>
<Topic>topic1</Topic>
</Reponse>
<Response>
<Reason>3081</Reason>
<Topic>topic2</Topic>
</Reponse>
</pscr>
<psc>
...
command message (to which
the integration node is responding)
...
</psc>