How to run the example

This mt-mx translation will use the sample files to demonstrate the generation of CBPR+ pacs.009.001.08 (core/cove) XML message from a SWIFT MT205 (core/cove) message or CBPR+ pacs.004.001.09 output from a MT205 (RETN) 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 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
  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:
    • cbpr2811_mt205_framework
    • cbpr1502_mtmx_setvarlog
    • cbpr2820_mt205_pacs009_cov
    • cbpr2819_mt205_pacs009
    • cbpr2825_mt205RTN_pacs004
  3. Run the main map cbpr2811_mt205_framework.
    The following output files will be generated:
    • mx_out.xml

      File contains the translated CBPR+ pacs.009.001.08 (core/cove) XML message from SWIFT MT205 (core/cove) message or pacs.004.001.09 XML message from SWIFT MT205 (RETN) message.

    • audit_msg.json
      Reports translation logs, including failure due to the pre-conversion checks as:
      • Field 72, Line[1] should not start with /REJT/ OR /RETN/.
      • Field 72, Line[1] should not start with /REJT/.
      • If Field 72, Line[1] starts with /RETN/, <Tag121><EndToEndTxnRef> should not be absent.