Hi All,

I am attempting to deploy some camel 2.8.0 routes to service mix. JB Onofre 
posted a note about adding camel 2.8 to Karaf which I figured should fly in 
Service Mix too, right?
        
http://blog.nanthrax.net/2011/06/camel-2-8-0-new-features-for-karafservicemix/

So I did the following with a freshly unzip'd copy of service mix 4.3:
        karaf@root> features:addurl 
mvn:org.apache.camel.karaf/apache-camel/2.8.0/xml/features
        karaf@root> features:list | grep 2.8.0
        [uninstalled] [2.8.0 ] camel camel-2.8.0
        [uninstalled] [2.8.0 ] camel-core camel-2.8.0
        [uninstalled] [2.8.0 ] camel-spring camel-2.8.0
        [uninstalled] [2.8.0         ] camel-blueprint camel-2.8.0 
        … long list continues

When I try to install 2.8 I get a confusing error:
        karaf@root> features:install camel 2.8.0
        Error executing command: No feature named 'spring' with version '[3,4)' 
available

But:
        karaf@root> features:list | grep spring
        [installed  ] [3.0.5.RELEASE ] spring                               
karaf-2.1.3
        [installed  ] [1.2.0         ] spring-dm                            
karaf-2.1.3

I dug into the Karaf code and see that in version 2.1.3, the FeatersServiceImpl 
just looked for an explicit feature version ("3.0.5.RELEASE") and didn't handle 
version ranges ("[3,4)"). It also looks like this was fixed back in February 
under KARAF-473.  Is there some straight forward way to either get Camel 2.8 
into ServiceMix 4.3.0 or to get Karaf 2.2+ into ServiceMix?

Thanks,
-- Chris


Reply via email to