For a new interface that we have to implement we have to transfrom a file with ‘character separated values’ to a XML message. One way to obtain this transformation is by using Smooks. Smooks is an extensible framework for building applications for processing XML and non XML
data (CSV, EDI, Java etc) using Java. Although Smooks can run standalone, we want to combine it with our integration platform that is based on Mule CE.
After a short search we found a mavenized Smooks module here. I made some little changes to the module so the dependencies are referring to Mule2.2.2-SNAPSHOT and Smooks1.3.1. After this I deployed the module to our company repository so it is ready for use. An example how to use the module will be posted next, so stay tuned.
Pingback: Using Smooks+Mule to transform CSV file to XML one | Redstream Blog