Configuration properties can be overwritten. The Mule runtime engine uses the following hierarchy to determine the first match, which takes precedence if properties have the same name. In this hierarchy, deployment properties are at the top, so they take precedence over the other types of properties.
- Deployment properties (i.e. Runtime Manager Properties tab)
- System properties (i.e. AnyPoint Studio "Program/VM arguments", On-Prem server CLI arguments, or
$MULE_HOME/conf/wrapper.conf) - Environment properties (e.g. Environment Variables)
- Application properties (includes configuration properties, secure configuration properties, and other custom configuration properties, e.g.
src/main/resources/config.yaml) - Global Properties (e.g.
<global-property name=*"prop1"* value=*"SOMETHING"* />) Source: Properties Documentation