You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2011/09/02 14:58:09 UTC

[jira] [Commented] (CAMEL-4407) camel-script feature should ship script implementation bundles like groovy/javascript/ruby

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

Claus Ibsen commented on CAMEL-4407:
------------------------------------

Groovy is osgi out of the box now. We use groovy 1.8.0 / 1.8.1 I would assume you can use that instead of that old SMX wrapped bundle.

> camel-script feature should ship script implementation bundles like groovy/javascript/ruby
> ------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-4407
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4407
>             Project: Camel
>          Issue Type: Improvement
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>
> the camel-script feature looks like
> <feature name="camel-script" version="2.6.0">
>         <feature version="2.6.0">camel-core</feature>
>         <bundle>mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.scripting-api-1.0/1.7.0</bundle>
>         <bundle>mvn:org.apache.camel/camel-script/2.6.0</bundle>
>     </feature>
> it has no specific script implementation bundles
> the servicemix-scripting feature looks like
> <feature name="servicemix-scripting" version="2011.01">
>         <feature version="2011.01">servicemix-shared</feature>
>         <bundle>mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.scripting-api-1.0/1.7.0</bundle>
>         <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.asm/2.2.3_4</bundle>
>         <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.antlr/2.7.7_3</bundle>
>         <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.groovy/1.5.6_4</bundle>
>         <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.rhino/1.7R1_3</bundle>
>         <bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jruby/1.1.2_3</bundle>
>         <bundle>mvn:com.google.code.scriptengines/scriptengines-groovy/1.1</bundle>
>         <bundle>mvn:com.google.code.scriptengines/scriptengines-javascript/1.1</bundle>
>         <bundle>mvn:com.google.code.scriptengines/scriptengines-jruby/1.1</bundle>
>         <bundle>mvn:org.apache.servicemix/servicemix-scripting/2011.01</bundle>
>     </feature>
> It ship groovy/ruby/javascript implementation bundle.
> We should do same for camel-script feature, otherwise customer can't use camel-script feature without servicemix-scripting get installed.
> There's a related discussion on Servciemix mailing list[1], I think we need fix it in camel
> [1]http://servicemix.396122.n5.nabble.com/Exception-when-using-JavaScript-expression-in-Camel-routes-td4758137.html#a4761878

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira