O'Reilly logo

JBoss: Developer's Guide by Elvadas Nono Woguia

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

File processing and data transformation

Apache Camel as the Fuse Router engine has a variety of components for file processing and data transformation. In the following section, we will create a fuse application to pull XML files representing Moneytransfer data. We will be interested in a specific business line: transactions from the USA to the Cameroons. After reading the XML file, the application should send a message into a JMS queue to a US regulatory. Then, generate a PDF bill and save it on the filesystem.

The whole project code is available at jbossdevguidebook/chapters/ch6/beosbank-file-processor for your reference.

Let's consider the following file as the XML representation of a mobile money transfer from the Datagrid:

<?xml version ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required