You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by Cristiano Costantini <cr...@gmail.com> on 2016/03/03 08:26:36 UTC

Spring version bound to Camel

Hi all,

I'm updating from using Camel 2.13.2 to Camel 2.16.1.
I want to keep the spring version we use in sync to the version used in
camel (specifically "camel-spring").
Do you suggest me to keep using Spring 3.2.x or should I upgrade to Spring
4.1 as a follow up of upgrading from Camel 2.13.2 to Camel 2.16.1?

My concerns arrise from the following facts...

The camel-spring artifact is using "Spring 4.1.9.RELEASE":

[INFO] --- maven-dependency-plugin:2.10:tree (default-cli) @
check-dependencies ---
[INFO] net.cristcost:check-dependencies:jar:1.0-SNAPSHOT
[INFO] \- org.apache.camel:camel-spring:jar:2.16.2:compile
[INFO] +- org.apache.camel:camel-core:jar:2.16.2:compile
[INFO] | \- org.slf4j:slf4j-api:jar:1.6.6:compile
[INFO] +- org.springframework:spring-context:jar:4.1.9.RELEASE:compile
[INFO] | +- org.springframework:spring-beans:jar:4.1.9.RELEASE:compile
[INFO] | +- org.springframework:spring-core:jar:4.1.9.RELEASE:compile
[INFO] | | \- commons-logging:commons-logging:jar:1.2:compile
[INFO] | \- org.springframework:spring-expression:jar:4.1.9.RELEASE:compile
[INFO] +- org.springframework:spring-aop:jar:4.1.9.RELEASE:compile
[INFO] | \- aopalliance:aopalliance:jar:1.0:compile
[INFO] +- org.springframework:spring-tx:jar:4.1.9.RELEASE:compile
[INFO] +- com.sun.xml.bind:jaxb-core:jar:2.2.11:compile
[INFO] \- com.sun.xml.bind:jaxb-impl:jar:2.2.11:compile
[INFO] --------------------------------------------------------


But the camel-spring feature for karaf seems to be bound to "Spring 3.2.x":

karaf@root>feature:info camel-spring
Feature camel-spring 2.16.1
Feature has no configuration
Feature has no configuration files
Feature depends on:
spring [3.2,4)
spring-dm [1.2,2)
spring-tx [3.2,4)
camel-core 2.16.1
Feature contains followed bundles:
mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1
mvn:org.apache.camel/camel-spring/2.16.1
Feature has no conditionals.


Shouldn't the camel-spring feature use or at least support spring 4?
=> spring [3.2,5)

Thank - again - you for the help and feedback!
Cristiano