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 2019/07/28 08:37:00 UTC

[jira] [Resolved] (CAMEL-4995) Wrong type returned in DSL for NoOutputExpressionNode(s) such as DynamicRouterDefinition

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

Claus Ibsen resolved CAMEL-4995.
--------------------------------
    Resolution: Fixed

> 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
>            Priority: Major
>             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
(v7.6.14#76016)