I used the following definition which works: <?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: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 ">
<camel:camelContext>
<camel:route>
<camel:from uri="file://inputdir/" />
<camel:to uri="file://outputdir/" />
</camel:route>
</camel:camelContext>
</beans>
Best,
Christian
