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: Demonstrate message routing to a set of static endpoints.
Start ESB with the following sample configuration:
Deploy the SimpleStockQuoteService and start three instances of sample Axis2 server as mentioned in .
The above configuration routes a cloned copy of a message to each recipient defined within the static recipient list. To test this, run the StockQuote client to send an out-only message as follows:
This client sends a request to the SimpleStockQuoteService through the ESB. ESB will create cloned copies of the message and route to the three endpoints mentioned in the configuration. SimpleStockQuoteService prints the details of the placed order. If you examine the console output of each server, you can see that requests are processed by the three servers as follows:
Now shutdown MyServer1 and resend the request. You will observe that requests are still processed by MyServer2 and MyServer3.