In a typical ESB cluster, you have several ESBs running in parallel with each having a JMS proxy listening to a single JMS queue. All the ESBs usually have the same back-end. With a setup like this, you have to implement fault tolerance and concurrent processing of JMS messages. Fault tolerance ensures that even when one or more ESBs go down, the system will still keep running until there is at least one ESB in the cluster.
...
Code Block | ||
---|---|---|
| ||
<!-- Ports offset. This entry will set the value of the ports defined below to the define value + Offset. e.g. Offset=2 and HTTPS port=9443 will set the effective HTTPS port to 9445 --> <Offset>1</Offset> |
3. Set up the prerequisites given in the Prerequisites section in Setting Up the ESB Samples. Then, deploy the SimpleStockQuoteService client by navigating to < ESB_HOME>/samples/axis2Server/src/SimpleStockQuoteService, and running the ant command in the command prompt or shell script. This will build the sample and deploy the service for you.
4. WSO2 ESB comes with a default Axis2 server, which you can use as the back-end service for this sample. To start the Axis2 server, navigate to <ESB_HOME>/samples/axis2server and run axis2Server.sh (on Linux) or axis2Server.bat (on Windows).
...