File Processing On WSO2 A Simple File Processing Example
This example sets up a simple file processing orchestration on the ESB which reads a CSV file from a watched folder, transforms it and writes it to another folder in an arbitrary format.
Initial attempts to process .csv files on the WSO2 service bus were based on the example in http://wso2.com/library/blog-post/2013/09/csv-to-xml- transformation-with-wso2-esb-smooks-mediator/ which works in the following way:
The process being:
1. We set up a VFS Reader Proxy to poll for files a defined folder
2. When a file is found we use a smooks transformation to change the file into an XML structure
3. We then use a WSO2 XSLT transform to transform the XML to a .csv format.
Lets get started!
Continue reading WSO2 File Processing