Set Camel Runtime Properties
Add properties to the application itself, and choose its runtime.
How it works
Runtime properties are key=value pairs given to the Camel runtime at startup. Use them for the settings of the runtime and of components (a thread pool size, a log level) when they need not come from a stored configuration.
Not for secrets
A property typed here is stored with the integration in clear. Put credentials in a Secure Properties configuration.
Prerequisites
- An integration, created and bound to an environment.
Procedure
- In Runtime Manager, go to Integrations and open the integration.
- Choose Add Capability, then Camel Runtime.
- In Runtime Properties, add one property per line, written
key=value. - Choose Apply changes.
Parameters
| Field | What it is | Default |
|---|---|---|
| Runtime Properties | Properties added to the application, written key=value. The ones the platform sets cannot be removed. | — |
| Runtime Version Override | Another version of the runtime, when a route needs one. | — |
| Runtime Provider | The runtime the integration runs on. | Quarkus |
Verification
Examples of runtime properties
quarkus.http.limits.max-body-size=20M
camel.main.streamCachingEnabled=true
Behavior and limits
- For your own application settings, prefer a properties configuration: it is stored once and can differ by environment.
- Changing the runtime version rebuilds the image.
See also
- Integrations: every setting at a glance
- Change how an integration is built