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

Marat Gubaidullin commented on CAMEL-20666:
-------------------------------------------

It looks like it is related to this one 
https://issues.apache.org/jira/browse/CAMEL-20667
In *YAML* DSL *RouteDefinition* *errorHandler* is *ErrorHandlerFactory*
In *JAVA* DSL *RouteDefinition* *errorHandler* is *ErrorHandlerDefinition*
If we sync to use *ErrorHandlerDefinition* in both then we do not need 
*ErrorHandlerFactory*

> RouteDefinition DSL Consistency for XML vs YAML DSL
> ---------------------------------------------------
>
>                 Key: CAMEL-20666
>                 URL: https://issues.apache.org/jira/browse/CAMEL-20666
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-catalog, camel-yaml-dsl
>    Affects Versions: 4.5.0
>            Reporter: Marat Gubaidullin
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.6.0
>
>         Attachments: Screenshot 2024-04-10 at 4.35.49 PM.png, Screenshot 
> 2024-04-10 at 4.36.23 PM.png
>
>
> org.apache.camel.model.RouteDefinition in YAML DSL has *errorHandler*
> !Screenshot 2024-04-10 at 4.35.49 PM.png!
> in camel-catalog there is no *errorHandler* property
> !Screenshot 2024-04-10 at 4.36.23 PM.png!



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

Reply via email to