[
https://issues.apache.org/jira/browse/CAMEL-4995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-4995:
-------------------------------
Issue Type: Improvement (was: Bug)
> Wrong type returned in DSL for NoOutputExpressionNode(s) such as
> DynamicRouterDefinition
> ----------------------------------------------------------------------------------------
>
> Key: CAMEL-4995
> URL: https://issues.apache.org/jira/browse/CAMEL-4995
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 2.8.4
> Reporter: Hadrian Zbarcea
> Assignee: Hadrian Zbarcea
> Fix For: 3.0.0
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.2#6252)