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

Claus Ibsen commented on CAMEL-926:
-----------------------------------

need to add use b5 of beanshell

            <groupId>org.beanshell</groupId>
            <artifactId>bsh</artifactId>
            <version>2.0b5</version>

This is the one that is supported by SUN
https://scripting.dev.java.net/

However the bsh-engine
            <groupId>com.sun.script</groupId>
            <artifactId>bsh-engine</artifactId>
            <version>20080611</version>

doens't support beanshell scripts on java5 yet. 

java.lang.Error: unimplemented
        at bsh.engine.BshScriptEngine.compile(BshScriptEngine.java:175)
        at bsh.engine.BshScriptEngine.compile(BshScriptEngine.java:154)
        at 
org.apache.camel.builder.script.ScriptBuilder.compileScript(ScriptBuilder.java:515)
        at 
org.apache.camel.builder.script.ScriptBuilder.checkInitialised(ScriptBuilder.java:493)
        at 
org.apache.camel.builder.script.ScriptBuilder.getEngine(ScriptBuilder.java:421)

> ScriptBuilder hasn't DSL for beanShell
> --------------------------------------
>
>                 Key: CAMEL-926
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-926
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-script
>    Affects Versions: 1.4.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 1.5.0
>
>
> The ScriptBuilder has nice DSL for all the supported languages except 
> BeanShell. We might as well add the DSL for it. 
> Isn't beanshell a included script language in Java6? Or I am mistaking?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to