How to run the example

This mx-mt translation will use the sample files to demonstrate the generation of SWIFT MT942 message output from a CBPR+ camt.052.001.08 XML message.

Before you begin

Extract from <packs_install_dir>/UIProjectImports/cbprJnodesConfigIBM.tar.gz file.
  • jnodes0.jar
The following jars needs to be copied from <TX_install_dir>/jars:
  • jackson-core-n.n.n.jar
  • jackson-annotations-n.n.n.jar
  • jackson-databind-n.n.n.jar
Or visit https://repo1.maven.org/maven2/com/fasterxml/jackson/core/ for download.
Note: Recommend using the latest version.
For the non-Docker environments,
  • Copy jars to <TX_install_dir>/extjar

For TX V11.0.1 and up, native based Design Server installation,

Copy the following into the directory defined in config.yaml server.persistence.libs, by default, this is set to /opt/txlibs:
  • jvcwrap.jar
  • jvalccyy.jar

Restart the running application ./ITX stop and then ./ITX start.

For the Docker environments,
  • docker cp jnodes0.jar <brand>-server:/opt/<company>/<brand>/libs/
  • Restart the design server, that is, docker restart <brand>-server
Note: For RHEL, Docker is not supported. Podman can be used as a substitute since it provides a command line interface similar to Docker. Following is an example of using Podman.
  • podman cp jnodes0.jar <brand>-server:/opt/<company>/<brand>/libs/
  • Restart the design server, that is, podman restart <brand>-server

Procedure

  1. Import the cbpr_translation.zip project into the Design Server.
  2. Open the cbpr_translation project in Design Server and build the following maps:
    • cbpr2546_camt052_framework
    • cbpr2547_camt052_translate
    • cbpr2548_camt052_mt942
    • cbpr2501_mxmt_setvarlog
  3. Run the main map cbpr2546_camt052_framework.
    The following output files will be generated:
    • mt_out.txt

      File contains the translated MT942 from CBPR+ camt_052 message.

    • audit_msg.json

      Reports translation logs, including failure due to the pre-conversion checks:

      • <ElctrncSeqNb> must be present in <BkToCstmrAcctRpt><Rpt><ElctrncSeqNb> and its length must be less than or equal to 5.

        OR

        <LglSeqNb> must be present in <BkToCstmrAcctRpt><Rpt><LglSeqNb> and its length must be less than or equal to 5.

      • There must be a maximum 190 occurrence of <Ntry> in <BkToCstmrAcctRpt><Rpt><Ntry>.

      • There must be present any ONE of the following:
        • <BkToCstmrAcctRpt><Rpt><Ntry>
        • <BkToCstmrAcctRpt><Rpt><TxsSummry><TtlCdtNtries><NbOfNtries> AND <BkToCstmrAcctRpt><Rpt><TxsSummry><TtlCdtNtries><Sum>
        • <BkToCstmrAcctRpt><Rpt><TxsSummry><TtlDbtNtries><NbOfNtries> AND <BkToCstmrAcctRpt><Rpt><TxsSummry><TtlDbtNtries><Sum>
      • For all occurrence of <BkToCstmrAcctRpt><Rpt><Ntry>, value of <Ccy> in <BkToCstmrAcctRpt><Rpt><Ntry><Amt><Ccy> must be equal to value of <Ccy> in <BkToCstmrAcctRpt><Rpt><Acct><Ccy>, TotalNumberOfDigits <BkToCstmrAcctRpt><Rpt><Ntry><Amt> must be less than or equal to 14.