Thanks for the quick response. I added the following namespace and I put routeContext in a beans root element
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:osgi="http://camel.apache.org/schema/osgi" xmlns:beans="http://www.springframework.org/schema/beans" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd http://camel.apache.org/schema/osgi http://camel.apache.org/schema/osgi/camel-osgi.xsd http://www.springframework.org/schema/osgi-compendium http://www.springframework.org/schema/osgi-compendium/spring-osgi-compendium.xsd http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> <routeContext id="kimonoRoutes" xmlns="http://camel.apache.org/schema/spring"> <route> <from uri="jms:queue:src"> <to uri="jms:queue:dst"> </route> </routeContext> </beans> And I still have the following errors: Offending resource: URL [bundle://224.0:0/META-INF/spring/camel-context.xml]; nested exception is org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 17 in XML document from OSGi resource[file:///D:/progress/apache-servicemix-4.3.0-fuse-00-00/data/routes/routes.xml|bnd.id=224|bnd.sym=processor-bundle] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.b: The content of element 'routeContext' is not complete. One of '{"http://camel.apache.org/schema/spring":route}' is expected. -- View this message in context: http://camel.465427.n5.nabble.com/Cannot-find-the-declaration-of-element-routeContext-tp2851604p2851631.html Sent from the Camel - Users mailing list archive at Nabble.com.
