Configure CSM simulator responses

The clearing and settlement mechanism (CSM) simulator can be configured as to how it responds to requests sent to CSM.

If the FTM high value payments application does not need to receive an accepted status report, the user-defined property CSM_SendResponse is set to false. A status report with a reject status code is still sent to High Value Payments.

Depending on the overall process, multiple responses might be sent to High Value Payments. The simulator can be configured to simulate these multiple responses by sending a configuration message to its control queue, SIM.CSM.CONTROL1.

The simulator supports the following message types for responses:
  • Payment status report (pacs.002)
  • ReceiptAcknowledgement (admi.007)
  • DeliveryNotification - Accept (xsys.011)
  • DeliveryNotification - Failed (xsys.012)

The configuration message defines the responses for each request message type. For each response, several fields can be specified, which the simulator incorporates into the response message. The simulator processes multiple responses in the order that is defined in the configuration message.

The simulator stores the configuration message in a shared variable and keeps it until the simulator message flow stops. A stored configuration message is overwritten if a new configuration message is received.

A sample configuration message file, SimCtrl_Responses.xml, is provided in the config folder of the FTM HVP Simulator CSM project.

1 By default, all IBM® MQ names are prefixed with the placeholder ++FXTQPFX++.

Limitation

To simulate multiple responses, only one instance of the simulator is supported.