Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
Some EIPs must be configured at top-level like onException, transacted, interceptors, on completion, etc.
Though in the XML DSL and Java DSL there is "holes" so you may configure them in nested EIPs eg inside a splitter etc.
We should validate that this is not allowed.
In Camel 3.0 the DSL API can be changed to ensure the configuration can only happen at top-level. But in 2.x we would need to keep the DSL API stable and instead validate if mis-configured.
Attachments
Issue Links
- is required by
-
CAMEL-6378 Java DSL - Using transacted and onException in same route - Validate that onException is first
- Resolved