Response flow for the
Message Correlator for WebSphere MQ: request-response without persistence pattern
The Response flow runs as a non-transactional flow.
When a response is received
from the provider application, the following actions are taken:
- The message flow includes a subflow called ResponseProcessor.
This subflow contains only a Passthrough node, therefore
no processing is performed.
You can customize this subflow in your pattern instance to add your own processing
without changing the structure of the pattern.
- The saved MQMD header is retrieved from the storage queue
and added to the response message, so that the response message has
the correct address to respond to the requester.
- The response is returned to the requester.
- The message flow might contain a subflow for logging, called Log.
You can configure the pattern to include or exclude logging.
If logging is included, the Log subflow is called.
- If logging is not included, the message flow ends successfully
and the transaction is committed.
- The message flow also contains a subflow for error handling, called Error.
- Error messages are written to the error queue, if you have configured
this option for your pattern instance.