This documentation is for WSO2 Enterprise Service Bus version 4.8.1 . View documentation for the latest release.

All docs This doc

Versions Compared

Key

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

...

Excerpt
hiddentrue

Example of message mediation in WSO2 ESB.

You will see a message as follows on the Axis2 server console confirming that the message is routed to the sample server, and that the sample service hosted at the sample server generates a stock quote for the requested symbol.

Code Block
Sat Nov 18 21:01:23 IST 2006 SimpleStockQuoteService :: Generating quote for : IBM

The response message generated by the service is again received by the ESB and flows through the same mediation rules, which logs the response message and then sends it back to the client. On the client console you will see an output as follows, based on the message received by the client.

Code Block
Standard :: Stock price = $95.26454380258552

When you analyze the output debug messages for the actions in the Proxy Client Mode, You will see exactly the same behavior as in the previous example. However, this time the difference is at the client, as it sends the message to the WS-Addressing To address  http://localhost:9000/services/SimpleStockQuoteService , but the transport specifies ESB as the HTTP Proxy.

Excerpt
hiddentrue

Example of message mediation in WSO2 ESB.