WSO2 ESB is developed based on the Apache Synapse mediation engine. For a full guide of Apache Synapse configuration, refer to http://synapse.apache.org/userguide/config.html.
Note
We will be publishing Synapse configurations specific to WSO2 ESB in an upcoming documentation release.