<?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/camel-spring.xsd">--> <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"> <bean id="fileConverter" class="com.server.process.FileConvertProcessor"/> <camelContext id="testCamelContext" xmlns="http://camel.apache.org/schema/spring"> <route> <from uri="file:./input?delay=30000"/> <process ref="fileConverter"/> <to uri="file:./output"/> </route> </camelContext> </beans>