This content has been marked as final.
Show 2 replies
-
1. Re: Trying to execute camel example....
dead_devil_66 Mar 16, 2011 3:07 PM (in response to dead_devil_66) -
2. Re: Trying to execute camel example....
njiang Mar 17, 2011 10:10 AM (in response to dead_devil_66)Which version of Karaf and Camel are you using?
The tutorial was wrote about two years ago, you make need to update the configure file like this.
<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.xsd http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd"> <camelContext xmlns="http://camel.apache.org/schema/spring"> <camel:route> <camel:from uri="timer://myTimer?fixedRate=true&period=2000"></camel:from> <bean ref="myTransform" method="transform"></bean> <camel:to uri="log:ExampleRouter"></camel:to> </camel:route> </camelContext> </bean>
Willem