Quickly and easily parse SWIFT MT messages

Parse messages in SWIFT format and output them into native  Java object models. In Java form the object model delivers a simple way to query any message element without worrying about the complexity of SWIFT message syntax.

Create SWIFT MT messages in Java object form

Rapidly create messages as Java objects. Test at high volume and at high velocity without creating a SWIFT format messages.

Transform SWIFT messages to XML, JSON or Tag-Value-Pair

Transform SWIFT messages to XML, JSON, Tag-Value-Pair and of course its original Textual format allowing for easy integration with other systems. 

Validate SWIFT messages 

With a simple licensed upgrade you can bring the power of C24 SWIFT message validation to your application. Updated annually to support the latest SWIFT Standards Release, the validation extension parses and highlights erroneous fields to help you prevent invalid messages being posted on the SWIFT network.

To learn more speak with a sales representative.

 

Download the Open Edition SWIFT Libraries

 

Quick Start Guide

The Swift Open Edition libraries require the C24 runtime libraries for parsing and transformation. You can quickly get started by using maven to manage the dependencies and build lifecycle.

Add the C24 nexus repository:

<repositories>
        <repository>
            <id>c24-nexus</id>
            <name>C24 Nexus</name>
            <url>http://repo.c24io.net/nexus/content/groups/public</url>
        </repository>
</repositories>

You can deploy the C24 Swift 2015 jar to your own repository or reference it from the local file system:

<dependency>
            <artifactId>swift2015</artifactId>
            <groupId>biz.c24.io.swift</groupId>
            <version>0.0.2015</version>
            <scope>system</scope>
            <systemPath>${basedir}/src/main/resources/biz.c24.io.swift2015.jar</systemPath>
</dependency>

Add the dependency on the C24 Runtime library:

<dependency>
            <groupId>biz.c24.io</groupId>
            <artifactId>c24-io-api</artifactId>
            <version>4.7.18</version>
</dependency>     

Sample Usage:

public class Application {

    public static void main(String[] args) {
    try {
//Parse the valid file
MT103Message parsedMessage = C24.parse(MT103Message.class).from(new FileReader("src/test/resources/data/valid/MT103i-valid_1.dat"));
System.out.println("The original format:");
System.out.println(parsedMessage);
System.out.println("");
 
//Write out the Swift message as XML
System.out.println("The original message represented as XML:");
C24.write(parsedMessage).as(C24.Format.XML).to(System.out);
System.out.println("");
 
//Write out the Swift message as JSON
System.out.println("The original message represented as JSON:");
C24.write(parsedMessage).as(C24.Format.JSON).to(System.out);
}
catch(Exception e) {
e.printStackTrace();
}
    }

}

For more examples visit our Knowledge Base.