...
This command sends a stock quote request to the provided transport endpoint (http://localhost:8280/services/StockQuoteProxy
).The request passes through the proxy service to the backend server. Then, the backend server processes the request and sends the response back to the proxy service. The proxy service receives the message and uses the send mediator to forward it the response message back to the serverclient. The response from the server is displayed in on the console as follows:
Standard :: Stock price = $165.32687331383468
You have now learned how to create a proxy service that intercepts messages and uses mediators to manipulate the messages before sending them to the server. In the next lesson, you will learn how to monitor the mediation and the ESB.