Camel Trait

The Camel trait can be used to configure versions of Apache Camel and related libraries.

This trait is available in the following profiles: Kubernetes, Knative, OpenShift.

The camel trait is a platform trait: disabling it may compromise the platform functionality.

Configuration

Trait properties can be specified when running any integration with the CLI:

kamel run --trait camel.[key]=[value] integration.groovy

The following configuration options are available:

Property Type Description

camel.enabled

bool

Can be used to enable or disable a trait. All traits share this common property.

camel.version

string

The camel version to use for the integration. It overrides the default version set in the Integration Platform.

camel.runtime-version

string

The camel-k-runtime version to use for the integration. It overrides the default version set in the Integration Platform.