Accountancy simulator setup and configuration
You need to set up artifacts and configure properties for this simulator to work.
Queues
The queues that are used by this simulator are shown in the following list.
- REQUEST.TO.ACCOUNTING1
- RESPONSE.FROM.ACCOUNTING1
- SIM.FAILED1
1 By default, all IBM® MQ names are prefixed with the placeholder ++FXTQPFX++.
IBM App Connect Enterprise artifacts
This simulator uses the following artifacts:
- FTM HVP Simulator IntnlSrvcs/HvpAcctSim.msgflow
- FTM HVP Simulator IntnlSrvcs LIB
- FTM HVP Simulator Common LIB
Common flow properties
The common flow properties that are used by this simulator are shown in the following table.
Property name | Default value | Description |
---|---|---|
SimInputQueue | FXT.REQUEST.TO.ACCOUNTING | Simulator request queue. |
SimOutputQueue | FXT.RESPONSE.FROM.ACCOUNTING | Simulator response queue. |
FailedMsgOutputQueue | FXT.SIM.FAILED | The queue to use for messages that fail schema validation. |
LogFailedMsgToQueue | TRUE | Indicates whether failed messages are logged to a queue. |
DataSource | FTMDB | The name of the database that is running the application. |
User-defined properties
The user-defined properties (UDP) for this simulator are shown in the following table.
Property name | Default value | Description |
---|---|---|
Acct_Latency | 100 | Simulates the latency. This property is specified in milliseconds. For more information, see Latency processing. |
Acct_FixedLatencyMode | FALSE | Indicates whether the latency is added independently of the IBM MQ wait time. For more information, see Latency processing. |
Acct_Limit_Rjct | 900 | |
Acct_Limit_RvslRjct | 850 | Controls the status code that is used in the response to an account credit or debit request. For more information, see Status codes and user-defined properties. |
Acct_CdtrId_AccInqRjct | FE00AB2001010187654321 | Controls the response to an account inquiry. The value in this property is compared to one of the
following account values.
|
Acct_DbtrBIC_RsvFdsRjct | ACCDTRSFDRJ | Controls the response to a reserve funds request. |
Acct_DbtrBIC_AcDbRqRjct | ACCDTDBRQRJ | Controls the response to an account debit request. |
Acct_CrdtBIC_AcCrRqRjct | ACCCDCRRQRJ | Controls the response to an account credit request. |
Acct_RjctReasonCode | AC01 | The configurable reject reason code. |
Acct_AddtlLtcy | 6000 | The amount of latency to add to cause a timeout during processing. For more information, see Latency processing. |
Acct_BICToAddLtcy | ACCADDLTBIC | If the specific agent ID is defined, latency is added. For more information, see Latency processing. |
DB_SCHEMA | FTM | The name of the database schema. |