Sanction screening simulator
This simulator replicates a service that screens payments for regulatory sanction compliance to use during outbound (debtor) and inbound (creditor) payment scenarios.
The simulator exhibits the following behaviors:
- The simulator receives an ISF request message and returns an ISF acknowledgment message.
- The simulator responds with an accept, pending, or reject status code that depends on values set in the user defined properties for the simulator.
- When the simulator responds with a pending status code, an accept response is prepared and stored in an acknowledgment storage queue. If a message of any kind is placed on the trigger acknowledgment queue, the stored acknowledgment is sent to Immediate Payments.
- A latency parameter can be set to simulate the amount of time used by a real sanction screening service. To simulate a timeout during the sanction screening service processing, a certain debtor agent ID can be used to add more latency.
- Messages that do not pass the schema validation are placed on the simulator failed queue.
- The simulator throws an exception when the business concept of the message is not what was expected.
- The simulator is connected through IBM® MQ.