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

Claus Ibsen commented on CAMEL-745:
-----------------------------------

Java DSL: script("js", "some javascript here")
Spring DSL: <expression language="js">some javascript here</expression>

And with the Java DSL you can add attributes to the script engine. This is not 
possible at all with spring DSL today.

See: 
http://cwiki.apache.org/confluence/display/CAMEL/Scripting+Languages+Context

> Spring DSL is out of sync with Java DSL
> ---------------------------------------
>
>                 Key: CAMEL-745
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-745
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core, camel-spring
>    Affects Versions: 1.4.0
>            Reporter: Jonathan Anstey
>            Assignee: Jonathan Anstey
>             Fix For: 2.0.0
>
>


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

Reply via email to