camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-655) Jython Expressions always return null/false
Date Tue, 08 Jul 2008 06:40:00 GMT

    [ https://issues.apache.org/activemq/browse/CAMEL-655?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44061#action_44061
] 

Willem Jiang commented on CAMEL-655:
------------------------------------

cool, I will take care of this patch.

> Jython Expressions always return null/false
> -------------------------------------------
>
>                 Key: CAMEL-655
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-655
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-script
>    Affects Versions: 1.3.0, 1.4.0
>         Environment: Jython 2.2.1, camel-script 1.3.0/1.4.0-SNAPSHOT, jython integration
lib from java.net or logicblaze.com repo
>            Reporter: Aaron Mulder
>            Assignee: Willem Jiang
>         Attachments: CAMEL-655.patch.txt
>
>
> A Jython expression used for example like this always returns null, which is now translated
to false:
> from("...").choice().when().jython("some expression").to(...)
> For example, here's an expression that always evaluates to null/false:
> request.headers['foo'] == 'bar'
> To see this, look at the test PythonExpressionTest in the camel-script module.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message