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: Introduction to inline script mediation
- Start the Synapse configuration numbered 351: i.e.
wso2esb-samples.sh -sn 351
- Start the Axis2 server and deploy the
SimpleStockQuoteServiceif not already done.
The functionality of this sample is similar to that of sample 350 and sample 8. It demonstrates how to use inline scripts in the mediation within the ESB. Use the stock quote client to issue a custom quote client as follows.