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

Willem Jiang commented on CAMEL-8188:
-------------------------------------

It's possible to add options to the language endpoint to support those 
configurations, but for the ScriptLanguage it doesn't support the component way 
as we have in camel. 
For example, we could setup the header by using expression, the DSL could be 
{code}
 from("xxx").setHeader("myHeader").ruby("Request").to("xxx")
{code}
So I introduced some properties to the camel context for the ScriptBuilder to 
lookup.

> Support to configure the scripte engine from CamelContext propertes
> -------------------------------------------------------------------
>
>                 Key: CAMEL-8188
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8188
>             Project: Camel
>          Issue Type: Improvement
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.15.0
>
>
> It should be useful for the user if we can configure the scripte builder 
> behavior from the camel context properties.
> Such as "CamelCompileScripte" and "CamelReuseScripteEngine".



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to