A lot has been written about the role of enterprise architecture in an organization, what the benefits are, what is the best framework to use, and how this fits with the role of solution architects. However one thing that has become clear to me over the years of working in this space is the lack of understanding of exactly what the common enterprise architectures are and how enterprise architectures change over the life of an organization. This can lead to misunderstandings about what possible end state architectures there are, what they can do for an organization and what drawbacks they bring. It is clear without this knowledge it is usually impossible to make and communicate which architectural state and organization is best suited for and why.
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
Just a simple series of steps to install the WSO2 ESB software – it’s free, give it a try!
Download the ESB software from :
Note that WSO2 is a fully featured enterprise ESB solution and as such has many components. The ESB is the core component that we are using for this example and therefore what we are planning to install.
Uzip that file into a location on your machine, I am using a mac and I have decided to unpack it to /Users/timteece/Documents/Wso2/wso2esb-4.9.0/
Download Java JDK
The ESB requires the appropriate version of the Java JDK to run, so download this and install it on your machine.
Run the ESB
Start a command line and change directory to <ESB Installation Directory>/bin On windows run the command
on mac or windows run the command
Note on mac sometimes the java home environment variable is not set correctly, if this is the case run the following command and before running the wso2server
JAVA_HOME=”$(/usr/libexec/java_home -v 1.8)”
Open the Administrator Console
When the server has started you can open the admin console of the ESB using the URL that was logged, check the startup logs at the end for the line:
INFO – CarbonUIServiceComponent Mgt Console URL : https://<ipaddress>:9443/carbon/
The default user name and password is ‘admin’ and ‘admin’. Change these in a production system