Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Insert excerpt
ESB Profile Samples
ESB Profile Samples
nopaneltrue

...

This sample uses Ruby so first set up Ruby support as described in 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 # 350 (#351 and #8) but instead uses a Ruby script using the JRuby interpreter. The script has two functions, 'transformRequest' and 'transformResponse', and the Synapse configuration specifies to be invoked when used. Execute the stock quote client to send a custom stock quote as per Sample 350 and check the received stock quote response.