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] [Commented] (CAMEL-5954) Unify the variables which are exports to script
Date Fri, 11 Jan 2013 07:40:13 GMT

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

Claus Ibsen commented on CAMEL-5954:
------------------------------------

I think there were some languages/templates that have "in" as reserved word etc. So just need
to take precaution if adding "in" by default.
I am not sure though if the script will fail to compile/evaluate, or its just that people
cannot use "in" but would have to use "request" instead.


                
> Unify the variables which are exports to script
> -----------------------------------------------
>
>                 Key: CAMEL-5954
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5954
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-script
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.9.6, 2.10.4, 2.11.0
>
>
> The LanguageExpression and ScriptBuilder don't bind the same variables which could be
used to access from Exchange. It could be better if they are using the same variables for
script user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message