How to run the example

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

The cbprJnodesConfigIBM.tar.gz file is available either in IBM_financialpaymentsplus_10.2.0.0.zip or in UIProjectImports directory.

Extract from 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.

For the non Docker environments:
  • Copy jars to <TX_install_dir>/extjar.
For the Docker environments
  • Docker cp jnodes0.jar tx-server:/opt/ibm/wsdtx/libs/.
  • Restart the design server, i.e., docker restart tx-server.

The stopTranslation.json file will report the translation failure due to the pre-conversion checks:

If input file is SWIFT message other than MT900 or MT910 or not a SWIFT message.
  1. Import the cbpr_translation.zip project into the Design Server.
  2. Open the cbpr_translation project in Design Server and view the flow cbpr_mt9n0_camt054. It utilizes the following nodes:
    1. Map Nodes:
      • serialize data

        Runs map cbpr1000_mt9n0_serialize which set flow variables check pre-translation conditions and create infoset.json of required input.

      • set camt054

        Runs map cbpr1102_mt9n0_camt054_jexit, invokes JEXIT call to java class located in jnodes0.jar and returns with flow variables.

      • build MX

        Runs map cbpr1501_mt90_camt_054 which set all the output camt.054.001.08 message fields based on the values set in flow variables.

      • trx_log

        Runs map cbpr1502_mtmx_setvarlog, process the flow variables by extracting audit log.

    2. Decision Nodes:
      • pre-conv chk

        Decide if further translation is required.

    3. Log Nodes:
      • FAILURE

        Archive for any failure during translation.

      • camt.054

        Archive the camt.054.001.08 message generated from translation.

      • audit_log

        It creates the audit.log.json output file.

    4. Fail Nodes:
      • STOP

        In the case of no translation, it generates error message setup in the node.

  3. In Design Server, create a package that contains the input files and one flow. The maps will automatically be included during deployment of the package onto the runtime server.