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