[
https://issues.apache.org/jira/browse/CAMEL-8201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14262215#comment-14262215
]
Christian Müller commented on CAMEL-8201:
-----------------------------------------
If we don't use "cacheScript=true", for each Exchange a new
"org.apache.camel.builder.script.ScriptBuilder" with a new
"javax.script.ScriptEngine" is created, even if we are using
"context.getProperties().put(Exchange.REUSE_SCRIPT_ENGINE, "true");"
This is very inefficient.
> NPE with language:ruby and concurrentConsumers
> -----------------------------------------------
>
> Key: CAMEL-8201
> URL: https://issues.apache.org/jira/browse/CAMEL-8201
> Project: Camel
> Issue Type: Bug
> Components: camel-script
> Affects Versions: 2.12.5, 2.13.3, 2.14.1
> Reporter: Christian Müller
> Assignee: Christian Müller
> Fix For: 2.13.4, 2.14.2, 2.15.0
>
> Attachments: RubyScriptTextTest.java
>
>
> See
> http://camel.465427.n5.nabble.com/NPE-with-language-ruby-and-concurrentConsumers-td5759703.html
> for details.
> By running git bisect, it reports the first bad commit was:
> f66375e91e2755e956c1527752c255aa2d0f8c42 is the first bad commit
> commit f66375e91e2755e956c1527752c255aa2d0f8c42
> Author: Willem Jiang <[email protected]>
> Date: Fri Jul 26 16:46:50 2013 +0800
> CAMEL-6559 fixed the script builder synchronized the operation of
> evaluateScript issue
> :040000 040000 148db9cc9e521c7951be27c1416c7218880d10cf
> 5f55cbb6798f9a0f8477348708360a7a09a98f5e M components
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)