Skip to main content

Hi All,

 

I have a question regarding properties file being used during deployment. I have a mule flow and defined property place holder with 2 locations.

 

<context:property-placeholder location="classpath:prop-file1.properties, file:///Users/AnypointStudio/myWorkspace/my-ws/src/main/resources/prop-file2.properties"/>

 

My question is when I deploy the application, what file would be used as for reading properties from the file ? Would any file override the properties of the other file ?

 

Appreciate your help.

 

Regards,

Karan

답변 7개
  1. 2017년 8월 6일 오후 3:07

    It will read properties from all files. system.properties will precede others. Properties written in email.properties overridden by http.properties and Properties written in http.properties overridden by system.properties file.

0/9000