Example executable maps
There are two example executable maps in the MX Message Bundle and Unbundle example:
-
mxpack - Executable map that bundles the SWIFT message data with the required Business Application Header (BAH). This map takes the BAH and the message data and packages them into a single output with a wrapper around the existing pieces of data. The map uses the mxpackage type tree, with the BAH and the MX data being treated as blob item text elements. The BAH input data is separated from the namespace information, and the rest of the message is treated as a text blob and packaged with the message document data which is treated the same as the BAH data.
-
mxunpack - Executable map that unbundles the SWIFT message data and the BAH, creating two output files. The input uses the mxpackage type tree to determine the BAH group and the MX message group. The first output file contains the BAH data mapped directly from the input. The second output file contains the MX message.