Skip to main content

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​

Procedure​

  1. In Runtime Manager, go to Integrations and open the integration.
  2. Choose Add Capability, then Configuration.
  3. In Property files, choose the configuration and add it. New secret creates one.
  4. Turn Hot Reload on to reload the integration when the configuration changes.
  5. Choose Apply changes.

Parameters​

FieldWhat it isDefault
Property filesThe configurations the integration loads as property files.—
Hot ReloadReload 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​