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 2024/04/17 10:00:00 UTC

[jira] [Commented] (CAMEL-20667) YAML DSL Consistency question - ErrorHandlerDefinition vs ErrorHandlerFactory

    [ https://issues.apache.org/jira/browse/CAMEL-20667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17838078#comment-17838078 ] 

Claus Ibsen commented on CAMEL-20667:
-------------------------------------

We can maybe take a 2nd look in camel-yaml-dsl to see if we can harmonize this, but since its error handler is a little bit complex

> YAML DSL Consistency question - ErrorHandlerDefinition vs ErrorHandlerFactory
> -----------------------------------------------------------------------------
>
>                 Key: CAMEL-20667
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20667
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-yaml-dsl
>    Affects Versions: 4.5.0
>            Reporter: Marat Gubaidullin
>            Assignee: Claus Ibsen
>            Priority: Minor
>
> We have [org.apache.camel.model.ErrorHandlerDefinition|https://github.com/apache/camel/blob/afc1eb789c7c0cb3488f8610afe2aa477b366500/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl.json#L1461] and [org.apache.camel.ErrorHandlerFactory|https://github.com/apache/camel/blob/afc1eb789c7c0cb3488f8610afe2aa477b366500/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl.json#L210C8-L210C44] in camelYamlDsl.json
> These elements have same properties and used to define error handler.
> What is the goal to have similar classes with different names?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)