Mount Property Files
Load stored properties into an integration, so that its routes read their values from outside the code.
How it works
The setting mounts one or several stored configurations of properties and loads them as Camel properties. Routes read them with {{key}} placeholders. The values live in Secret Manager, not in the source, so each environment gets its own.
Read at startup
A changed property is picked up when the integration restarts, not while it runs.
Prerequisites
- An integration, created and bound to an environment.
- A Properties or Secure Properties configuration, available in the environment. It can be created from the setting.
Procedure
- In Runtime Manager, go to Integrations and open the integration.
- Choose Add Capability, then Configuration.
- In Property files, choose the configuration and add it. New secret creates one.
- Turn Hot Reload on to reload the integration when the configuration changes.
- Choose Apply changes.
Parameters
| Field | What it is | Default |
|---|---|---|
| Property files | The configurations the integration loads as property files. | — |
| Hot Reload | Reload the integration when a mounted configuration changes. | Off |
Verification
Reading a property in a route
- setBody:
simple: "{{orders.greeting}}"
Behavior and limits
- Applying this setting restarts the integration; it does not rebuild its image.
- Several configurations can be added: their properties are all available.
- A property defined twice takes the value of the configuration loaded last: give properties distinct names.
See also
- Integrations: every setting at a glance
- Tutorial: configure it