camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadrian Zbarcea (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-4995) Wrong type returned in DSL for NoOutputExpressionNode(s) such as DynamicRouterDefinition
Date Wed, 08 Feb 2012 22:00:59 GMT
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


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message