blob: 7ddfd172c2cbec53096957ccafa1d2df1516a42a [file] [log] [blame]
= Error Handler Trait
// Start of autogenerated code - DO NOT EDIT! (description)
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**.
WARNING: The error-handler trait is a *platform trait*: disabling it may compromise the platform functionality.
// End of autogenerated code - DO NOT EDIT! (description)
// Start of autogenerated code - DO NOT EDIT! (configuration)
== Configuration
Trait properties can be specified when running any integration with the CLI:
[source,console]
----
$ kamel run --trait error-handler.[key]=[value] --trait error-handler.[key2]=[value2] integration.groovy
----
The following configuration options are available:
[cols="2m,1m,5a"]
|===
|Property | Type | Description
| error-handler.enabled
| bool
| Can be used to enable or disable a trait. All traits share this common property.
| error-handler.ref
| string
| The error handler ref name provided or found in application properties
|===
// End of autogenerated code - DO NOT EDIT! (configuration)