Hallo ActiveMQ Users, I'm trying to configure a Camel route in my ActiveMQ broker and I'm facing some issues with respect to the namespaces that I use. I have actually the following namespaces configured in my activemq.xml file:
*<beans xmlns="http://www.springframework.org/schema/beans" xmlns:amq="http://activemq.apache.org/schema/core" 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.xsd http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd"> ..... ..... ..... .....* What I did was just added the following line in the activemq.xml file: <!import resource="camel.xml"/ > I modified the camel.xml to include my route. The route actually does nothing other than to route from one Queue to another. When I start my ActiveMq server, I get the following error: *org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 26 in XML document from class path resource [activemq.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'camelContext'.* Could anyone please throw some light on this? I guess it has got to do something with the declared namespaces. -- View this message in context: http://activemq.2283324.n4.nabble.com/Camel-Route-Error-in-ActiveMQ-tp4662066.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.
