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 2022/04/08 07:21:00 UTC
[jira] [Created] (CAMEL-17929) camel-yaml-dsl - KameletBinding style error-handler is not Camel standard
Claus Ibsen created CAMEL-17929:
-----------------------------------
Summary: 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
Fix For: 3.17.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.1#820001)