Correlation between requests and responses

Correlating response transactions with the original request transactions is done by the generic action called A_CorrelateAndUpdateRel. This action currently supports the following modes of correlation:
  • IN_TXN_ACK_MQ1
  • IN_TXN_ACK_MQ2
  • IN_TXN_ACK_CID
Note: The sample application always uses IN_TXN_ACK_MQ2.

The following figure shows the typical scenario for the sample application.

Figure 1. Correlation diagram for the sample application
SampAppCorrelationDiag.jpg
In IN_TXN_ACK_MQ2 mode, correlation is done from RespTxn.UID to ReqPT.ID. For example, given the response transaction UID, the original request transmission to use is located.
SELECT
FROM TRANMISSION
WHERE ID = RespTxn.UID

The inbound mappers are setting the RespTxn.UID from the MQMD.CorrelId.