Error Handler Trait

The error-handler is a platform trait used to inject Error Handler source into the integration runtime.

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

The error-handler trait is a platform trait and cannot be disabled by the user.

Configuration

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

$ kamel run --trait error-handler.[key]=[value] --trait error-handler.[key2]=[value2] integration.groovy

The following configuration options are available:

Property Type Description

error-handler.enabled

bool

Deprecated: no longer in use.

error-handler.ref

string

The error handler ref name provided or found in application properties