WSO2 ESB includes working examples that demonstrate its features and capabilities. https://docs.wso2.com/display/ESB481/Samples 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. ./wso2esb-samples.sh -sn 0 https://docs.wso2.com/display/ESB481/Setting+Up+the+ESB+Samples#SettingUptheESBSamples-Startingasample 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 https://docs.wso2.com/display/DVS371/Packaging+Artifacts+Into+Deployable+Archive...