Implement the message recipient in the remote system

The message recipient can be any system which has access to the MQSeries queues. Typically this will be a legacy system to which access is required by the Cúram application. The target system can be either a JMS application or a basic MQSeries application.

If no response is required from the remote system, the remote system simply collects and decodes the received message, and uses it as required.

If a response message is required, i.e. if a return type has been specified for the operation, then the remote system must create a response message and send it back to the waiting Cúram application. The response message is associated with the original message using its CorrelationID, i.e., the message recipient must set the CorrelationID of the response message equal to the MessageID of the original message.