Note that WSO2 EI is shipped with the following changes to what is mentioned in this documentation:
repository/samples/directory that includes all Integration profile samples is changed to
repository/samples/resources/directory that includes all artifacts related to the Integration profile samples is changed to
Objective: Script mediators using Ruby (inline Ruby script)
- This sample uses Ruby, so first set up Ruby support as described at Configuring the ESB for Script Mediator Support.
- Create the above configuration and deploy it in the WSO2 EI profile, see Working with WSO2 Integration Studio.
- Start the Axis2 server and deploy the SimpleStockQuoteService if not already done
This sample is functionally equivalent to Sample 353.
Run the client with
Following database mediators use Derby in a client/server configuration by using the network server. Therefore, to proceed with the following samples, you need a working Derby database server and you have to follow the steps in ESB Sample Setup before going through the samples.