camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Work stopped] (CAMEL-4995) Wrong type returned in DSL for NoOutputExpressionNode(s) such as DynamicRouterDefinition
Date Sun, 27 Apr 2014 08:50:15 GMT

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

Work on CAMEL-4995 stopped by Claus Ibsen.

> 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: Bug
>          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)

Mime
View raw message