DZone
Main Points
- DataWeave script can reference application properties.
- DataWeave expressions can reference properties in the configuration.
Configure a Property File
Firstly, you will need to configure a property file in which application properties are defined. There are steps parts to follow:
- Create the property file in which the application properties are defined.
- Create a Configuration Property to reference the location of the file.
- Use property placeholders in the application configuration.
You can find more about this in my blog post How to configure Property Files in Mule 4.
Source: DZone