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

Claus Ibsen edited comment on CAMEL-20667 at 4/13/24 10:36 AM:
---------------------------------------------------------------

The factory is a neutral API for custom error handlers that end users could 
build and not have dependency on the model classes.



was (Author: davsclaus):
The factory is for custom error handlers that end users could build and not 
have dependency on the model classes.


> YAML DSL Consistency question
> -----------------------------
>
>                 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
>            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)

Reply via email to