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 2013/01/11 08:40:13 UTC

[jira] [Commented] (CAMEL-5954) Unify the variables which are exports to script

    [ 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