The XML namespace for the Spring DSL schema has changed between Apache Camel 1.x and Apache Camel 2.2, as follows:
Old XML schema namespace:
http://activemq.apache.org/camel/schema/spring
New XML schema namespace:
http://camel.apache.org/schema/spring
Moreover, when specifying the xsi:schemaLocation attribute, you need to
specify the location of the new XML schema.
You need to update all of your old Spring XML configuration files to use the new schema
and the new schema location. For example, the namespace settings (which are typically
defined in a Spring bean element) should be changed as follows:
Old namespace definitions in bean element:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:camel="http://activemq.apache.org/camel/schema/spring"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://activemq.apache.org/camel/schema/spring http://activemq.apache.org/camel/schema/spring/camel-spring.xsd">New namespace definitions in bean element:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:camel="http://camel.apache.org/schema/spring"
xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd">







