How to run the example

This mt-mx translation will use the sample files to demonstrate the generation of CBPR+ pacs.008.001.08 XML message output from a SWIFT MT103 SWIFTGo message.

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 latest version.
For the non Docker environments,
  • Copy jars to <TX_install_dir>/extjar.

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

Copy jars into the directory pointed to the config.yaml server.persisitence.files, by default, this is set to /opt/txlibs, then 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, i.e., docker restart <brand>-server.
  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:
    • cbpr2800_mt103_framework
    • cbpr_t9n_mt103_pacs008_sgo
    • cbpr1502_mtmx_setvarlog
  3. Run the main map cbpr2800_mt103_framework.
    The following output files will be generated:
    • mt_out.txt

      File contains the translated CBPR+ pacs.008.001.08 message from MT103 SWIFTGo SWIFT message.

    • audit_msg.json

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

      1. If input file is SWIFT message other than MT103 SWIFTGo or not a SWIFT message.
        2. IF Field 72, Line 1 starts with "/REJT/" OR "/RETN/".