diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc index e54685ca84..bf19be45ee 100644 --- a/docs/modules/ROOT/nav.adoc +++ b/docs/modules/ROOT/nav.adoc @@ -51,7 +51,6 @@ ** xref:traits:deployer.adoc[Deployer] ** xref:traits:deployment.adoc[Deployment] ** xref:traits:environment.adoc[Environment] -** xref:traits:error-handler.adoc[Error Handler] ** xref:traits:gc.adoc[Gc] ** xref:traits:gcp-secret-manager.adoc[Gcp Secret Manager] ** xref:traits:hashicorp-vault.adoc[Hashicorp Vault] diff --git a/docs/modules/traits/pages/error-handler.adoc b/docs/modules/traits/pages/error-handler.adoc deleted file mode 100755 index d30201802d..0000000000 --- a/docs/modules/traits/pages/error-handler.adoc +++ /dev/null @@ -1,38 +0,0 @@ -= Error Handler Trait - -// Start of autogenerated code - DO NOT EDIT! (badges) -// End of autogenerated code - DO NOT EDIT! (badges) -// 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**. - -NOTE: The error-handler trait is a *platform trait* and cannot be disabled by the user. - -// 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.yaml ----- -The following configuration options are available: - -[cols="2m,1m,5a"] -|=== -|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 - -|=== - -// End of autogenerated code - DO NOT EDIT! (configuration) diff --git a/pkg/apis/camel/v1/trait/error_handler.go b/pkg/apis/camel/v1/trait/error_handler.go index d51f14805f..c84934f646 100644 --- a/pkg/apis/camel/v1/trait/error_handler.go +++ b/pkg/apis/camel/v1/trait/error_handler.go @@ -20,6 +20,7 @@ package trait // The error-handler is a platform trait used to inject Error Handler source into the integration runtime. // // +camel-k:trait=error-handler. +// +camel-k:internal. type ErrorHandlerTrait struct { PlatformBaseTrait `property:",squash" json:",inline"` // The error handler ref name provided or found in application properties