Response flow for the Service Facade to WebSphere MQ: request-response pattern

The Response flow runs as a non-transactional flow.

When a response is received from the provider application, the following actions are taken:

  1. The Response flow reads the response message from the provider. Validation is determined by the pattern parameters.
  2. The flow uses the correlation ID to retrieve the SOAP Reply Identifier from the internal WebSphere MQ queue. The SOAP Reply Identifier is added to the local environment to control the destination for the SOAP reply.
  3. An HTTP reply header is created.
  4. If an exception occurs and error logging is included in the pattern application, the Error subflow is called, and an error is written to the response queue. However, because failure implies that the ReplyID that had to reply to the SOAP request is not available, no attempt is made to reply to the requester.
  5. A successful response is logged only if logging is included in this pattern application and is currently turned on.
Back to the Service Facade to WebSphere MQ: request-response pattern specification