Since we're on a major migration process of this website, some component documents here are out of sync right now. In the meantime you may want to look at the early version of the new website
https://camel.apache.org/staging/
We would very much like to receive any feedback on the new site, please join the discussion on the Camel user mailing list.

BeanDefinitionStoreException

If you use ActiveMQ 5.x that ships with Camel 1.x and you upgrade it to use Camel 2.0 you can get an exception while starting.

ERROR: java.lang.RuntimeException: Failed to execute start task. Reason:
org.springframework.beans.factory.BeanDefinitionStoreException: Unrecognized
xbean namespace mapping: http://activemq.apache.org/camel/schema/spring

The reason is basically that the XML namespace changed in Camel 2.0 as explained below.

When Camel went from an activemq subproject to a top level apache project, they changed the URIs for their xml schemas to reflect this in Camel 2.0.

To fix this, in activemq.xml change all occurrences of:

http://activemq.apache.org/camel/schema/spring

to

http://camel.apache.org/schema/spring

and

http://activemq.apache.org/camel/schema/spring/camel-spring.xsd

to

http://camel.apache.org/schema/spring/camel-spring.xsd

These will probably occur in the xsi:schemaLocation attribute of the top level beans tag (both) and in the xmlns attribute in the camelContext element (just the first).

© 2004-2015 The Apache Software Foundation.
Apache Camel, Camel, Apache, the Apache feather logo, and the Apache Camel project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.
Graphic Design By Hiram