Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.8.4
-
None
-
Advanced
Description
In ProcessorDefinition camel returns the NoOutputExpressionNode (as opposed to its parent) while constructing the AST.
The problem can only be noticed when such nodes are used within something like a ChoiceDefinition, in which case the parent (choice) is never returned, so there cannot be another when after something like dynamicRouter is used in a 'when'.
A fix is relatively easy for the Expression flavor of the DSL and I will commit a fix shortly, but the ExpressionClause flavor is a bit trickier. I am looking into a solution for that that does not require an api change.