Skip to main content

In the Week 3 training video discussing property placeholder files, an example is shown where a property placeholder is created in the Global Elements of interface.xml and then referenced in both interface.xml and implementation.xml configurations. Why is the property placeholder needed in the Global Elements of interface.xml but not the Global Elements of implementation.xml, even though elements in both xmls reference values in the property placeholder?

6 answers
  1. Dec 3, 2016, 7:58 PM

    I haven't seen the video, so not much sure about what you meant by interface.xml and implementation.xml configurations.

    property placeholder is declared at global level so that the properties file can be loaded at the start of the application and the values from the properties file can be available in the entire application.

    It doesn't matter which xml the placeholder is defined, it will be defined as a global component.

    For more info refer:- https://docs.mulesoft.com/mule-user-guide/v/3.8/configuring-properties

0/9000