Since Apache Camel 2.10, the version of Spring that you can use with Apache Camel must be 3.0.7 (or later). Spring 3.1.1 is also supported.
If you explicitly specify the location of the Spring schema in your Spring configuration files, you must change the schema location to point at either the 3.0 Spring schema or the 3.1 Spring schema.
The Spring 3.0 schema is located at the following Web page:
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
The Spring 3.1 schema is located at the following Web page:
http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
For example, assuming your schema locations are specified in the root beans
element, you could specify the new Spring schema location as follows:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">It appears that the order in which beans are dependency injected has changed in Spring
3.0. This could potentially affect your existing Apache Camel applications when you upgrade. To
gain more control over the order of dependency injection, you could add the
depends-on attribute to some of your bean definitions.
For a summary of the new features in Spring 3.0, see New Features and Enhancements in Spring 3.0.








