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/09/03 10:56:00 UTC

[jira] [Updated] (CAMEL-17534) camel-core - EIP model to not have EIP specific as general (when / otherwise etc)

     [ https://issues.apache.org/jira/browse/CAMEL-17534?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-17534:
--------------------------------
    Fix Version/s: 4.0
                       (was: 3.x)

> camel-core - EIP model to not have EIP specific as general (when / otherwise etc)
> ---------------------------------------------------------------------------------
>
>                 Key: CAMEL-17534
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17534
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: 4.0
>
>
> The DSL model for EIPs is based on Java OO and JAXB and it have some impact on the model.
> Some EIPs like Choice, DoTry, and others end up having some of their specific nodes like otherwise, doCatch, when etc part of the general model.
> So from DSL point of view then users can constuct "none valid" routes.
> JAXB is a bit brittle when you tweak it and we generate the XML XSD based on it, so we are under its mercy.
> However its time to see if we can make the model more strict and then better be able to source code generate all DSLs languages (even Java) without having to have hacks.



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