You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Lydie <lp...@completegenomics.com> on 2014/03/26 22:29:57 UTC
Karaf 3 camel : waiting for namespace handlers
Hello,
I am trying to run a simple camel example in Karaf 3
Here is my camel-context that I deployed in Karaf 3 :
<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0">
<camelContext xmlns="http://camel.apache.org/schema/blueprint"
id="simple">
<route>
<from uri="timer:simple?period=5000"/>
<setBody>
<simple>Hello World</simple>
</setBody>
<to uri="stream:out"/>
</route>
</camelContext>
</blueprint>
when I try to start it I get th efollowing error:
waiting for namespace handlers [http://camel.apache.org/schema/spring]
It was working fine in Karaf 2.3
What is the issue?
Any help would be really appreciated.
Lydie
--
View this message in context: http://camel.465427.n5.nabble.com/Karaf-3-camel-waiting-for-namespace-handlers-tp5749404.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Karaf 3 camel : waiting for namespace handlers
Posted by Lydie <lp...@completegenomics.com>.
So I was able to run this simple cmale context by adding:
but I still have an issue with this more complicated camel-context:
<?xml version="1.0" encoding="UTF-8"?>
<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/camel-spring.xsd
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd">
.....................................
<camelContext xmlns="http://camel.apache.org/schema/spring">
<propertyPlaceholder id="placeholder" location="classpath:sql.properties"
/>
<!-- route described here
</camelContext>
</blueprint>
--
View this message in context: http://camel.465427.n5.nabble.com/Karaf-3-camel-waiting-for-namespace-handlers-tp5749404p5749405.html
Sent from the Camel - Users mailing list archive at Nabble.com.