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/01/21 14:05:00 UTC
[jira] [Created] (CAMEL-17534) camel-core - EIP model to not have EIP specific as general (when / otherwise etc)
Claus Ibsen created CAMEL-17534:
-----------------------------------
Summary: 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
Fix For: 3.x
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.1#820001)