If you take a look at the camel-spring feature in detail:
<feature name="camel-spring" version="2.15.2" resolver="(obr)" start-level="50"> <bundle dependency="true">mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1</bundle>
<feature version="[3.2,4)">spring</feature>
<feature version="[1.2,2)">spring-dm</feature>
<feature version="[3.2,4)">spring-tx</feature>
<feature version="2.15.2">camel-core</feature><bundle>mvn:org.apache.camel/camel-spring/2.15.2</bundle>
</feature>

It limits the spring dependency to <=4. So you have to use a spring 3.x for camel.

Christian

Am 25.09.2015 um 02:47 schrieb xlogger:
Hi Christian,

I tried to test with a simple Camel project (only a timer and then log) and
included 2 entries to feature.xml only

         <feature version="2.15.2">camel-core</feature>
         <feature version="2.15.2">camel-spring</feature>

After I deploy my application and perform feature:list |grep spring, I found
that the feature spring/3.2.14.RELEASE_1 was started. I tried to add one
more entry like  <feature version="4.2.0.RELEASE_1">spring</feature> to
feature.xml and redeploy, and both 3.2 and 4.2 spring versions are
started...

Is it possible to enforce camel-spring feature to start with spring 4.2
instead?



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-4-0-1-Unable-to-locate-Spring-NamespaceHandler-for-XML-schema-namespace-http-camel-apache-org--tp4042748p4042754.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to