camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] [Commented] (CAMEL-3481) camel-script doesn't work in OSGi
Date Fri, 15 Apr 2011 07:08:05 GMT


Claus Ibsen commented on CAMEL-3481:

Yeah I had some issue with Apache for Git and had to try a simple commit and push to see if
it worked. So I remembered this one.

> camel-script doesn't work in OSGi
> ---------------------------------
>                 Key: CAMEL-3481
>                 URL:
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-script
>    Affects Versions: 2.5.0
>            Reporter: Aaron Mulder
>            Assignee: Willem Jiang
>             Fix For: 2.8.0
>         Attachments: camel-core.patch, camel-script.patch
> In an OSGi environment, the ScriptEngineManager that ScriptBuilder uses can't find any
scripting engines except the ones packaged in the JDK (Rhino, maybe AppleScript, etc.).  It's
possible that setting a better ClassLoader would work, or perhaps using a singleton ScriptEngineManager
and setting up the scripting engines in an OSGi Activator instead of relying on the META-INF
lookup every time a script is invoked.

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message