[
https://issues.apache.org/jira/browse/CAMEL-20666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17836784#comment-17836784
]
Claus Ibsen commented on CAMEL-20666:
-------------------------------------
So historically error handling in xml dsl (such as spring xml) would use <bean>
and <errorHandler> that were configured outside routes, and then refer to via
ids, eg you would use errorHandlerRef="myErrorHandler"
But in Java DSL you could inline the errorHandler directly.
Its a bit hard to change this model as JAXB that are used for spring xml has
its problems
> RouteDefinition DSL Consistency
> -------------------------------
>
> 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
> 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)