Hi Camel users Unfortunately I had to embed Camel 2.9 in an OSGi bundle since our platform version is currently 2.8 and that version suffers from a bug with errorhandling.
However, when the route of that bundle gets the first message, camel-script tries to create a script engine for javascript (although I only use simple-statements?!?). That fails with the error message "No script engine could be created for: js". I tried to provide the package "com.sun.script.javascript" in the system-bundle via custom.properties file of servicemix. That works fine and the import-package-statement of my bundle seems to be fulfilled on bundle startup. But the error message on consumption remains, I guess because of different classloaders. How can I provide a javascript script-engine to the embedded Camel 2.9 version. Is there an osgi-bundle I can also embed that provides the engine? Thanks Stephan