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 2018/02/01 15:35:00 UTC

[jira] [Updated] (CAMEL-8529) ScriptEngine usage optimizations

     [ https://issues.apache.org/jira/browse/CAMEL-8529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-8529:
-------------------------------
    Priority: Minor  (was: Major)

> ScriptEngine usage optimizations
> --------------------------------
>
>                 Key: CAMEL-8529
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8529
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-script
>    Affects Versions: 2.15.0
>            Reporter: gui
>            Priority: Minor
>         Attachments: scriptbuilder.patch
>
>
> When a script is compiled (eg in case of js), the scriptbuilder is (re) creating a new engine instance on every invocation, although the compiled script has already an engine attached. 
> This cause a lot of unnecessary engine initialization on every invocation. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)