Log subflow for the Service Facade to WebSphere MQ: request-response pattern

Logging messages to a database does not take place within the message flows that handle business transactions. Instead, persistent messages are written to a WebSphere MQ queue, which is processed separately. Writing persistent messages to a WebSphere MQ queue isolates any performance impact of database updates, therefore allowing control of where and when these queues are processed.

The pattern assumes that log data is added to the MQRFH2 header if one exists. If no MQRFH2 header exists, one is created. The message body is logged as it arrives in the message flow. The following log data is added:

Back to the Service Facade to WebSphere MQ: request-response pattern specification