Mule ESB:Context Property Placeholder

后端 未结 7 1447
暖寄归人
暖寄归人 2021-02-20 06:48

I have a question regarding Mule\'s context property placeholder, I have two files set up like this:



        
7条回答
  •  没有蜡笔的小新
    2021-02-20 07:24

    Spring will load properties from each resource in turn, overriding properties when it finds them more than once. This allows you to provide default values for properties, and customize them per environment.

    For eg:

        
    

    This is very similar to what you have mentioned above and to answer your question:

    • Syntax is perfectly fine. No exception will be thrown
    • Mule-app-22.properties will take precedence over mule-app-1.properties.

    Refer this link for more details: http://confluex.com/blog/integration-software-is-software/

提交回复
热议问题