Saturday, April 25, 2015

Run multiple samples without restarting the WSO2 ESB

WSO2 ESB includes working examples that demonstrate its features and capabilities.

When executing ESB samples, each time we need to restart the ESB server as:
Please note: if a given sample required to change axis2.xml file or add some libraries to the ESB, then need to restart the ESB.

./ -sn 0

How to run multiple samples without restarting the WSO2 ESB:

Solution 1:

The simplest way is just copy the configuration from the ESB docs and paste it on ESB source view and update: then it will deploy the new synapse config to the ESB_HOME/repository/deployment/server/synapse-configs/default

Solution 2:

Create a CAR file and deploy it to the ESB.

We can use the WSO2 Developer Studio for create CAR files

No comments: