You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2023/01/04 09:35:00 UTC
[jira] [Resolved] (CAMEL-17929) camel-yaml-dsl - KameletBinding style error-handler is not Camel standard
[ https://issues.apache.org/jira/browse/CAMEL-17929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-17929.
---------------------------------
Fix Version/s: 3.20.0
(was: 3.x)
Resolution: Fixed
> camel-yaml-dsl - KameletBinding style error-handler is not Camel standard
> -------------------------------------------------------------------------
>
> Key: CAMEL-17929
> URL: https://issues.apache.org/jira/browse/CAMEL-17929
> Project: Camel
> Issue Type: Improvement
> Components: camel-yaml-dsl
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 3.20.0
>
>
> camel-yaml-dsl has support for error-handler with these 4 keys:
> {code}
> @YamlIn
> @YamlType(
> nodes = { "error-handler", "errorHandler" },
> order = YamlDeserializerResolver.ORDER_DEFAULT,
> properties = {
> @YamlProperty(name = "ref", type = "string"),
> @YamlProperty(name = "none", type = "object:org.apache.camel.model.errorhandler.NoErrorHandlerDefinition"),
> @YamlProperty(name = "log",
> type = "object:org.apache.camel.model.errorhandler.DefaultErrorHandlerDefinition"),
> @YamlProperty(name = "dead-letter-channel",
> type = "object:org.apache.camel.model.errorhandler.DeadLetterChannelDefinition"),
> })
> {code}
> However that is not the standard naming we use in Camel. These are specific to KameletBinding and are for a special use-case only.
> So we need to have standard Camel error-handler in camel-yaml-dsl that is universal.
> And then the Camel K style error handler is only in Camel-K (or simulated specially for running KameletBinding with camel-jbang)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)