Reputation: 271
i want to set value in mule-app.properties again. Is there anyway to do this? Example in mule-app.properties: hostip=192.168.1.116 , in my flow i want to change it become 192.168.1.117
Upvotes: 1
Views: 171
Reputation: 25699
It is very easy. In mule-app.properties you defines properties as you mentioned.
In your flow you use a property placeholder to use the value of that property in a flow or in a configuration. It will be evaluated at deployment time.
Example:
<http:listener-config name="HTTP_Listener_Configuration"
host="${host}" .../>
<flow name="someFlow">
<logger message="host: ${host}" level="INFO" doc:name="Logger" />
Upvotes: 1