I am new to this camel framework. so I have one small doubt.. I can transfer file from one folder to another using simple camel coding. but I would like to make up using spring framework. but when I write code in xml file. I dont know how to *call *this xml configuration file either from maven or java class. Could anyone please help me on following issue?
<?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" 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-3.0.xsd http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd"> <bean id="triangle" class="com.tamil.spring.Triangle"> <property name="type" value="Dont know what to type" /> </bean> <camelContext xmlns="http://camel.apache.org/schema/spring"> <route> <from uri="file:data/inbox?noop=true" /> <to uri="file:data/outbox" /> </route> </camelContext> Above is my xml file and using maven built tool. Thanks in advance?? -- View this message in context: http://camel.465427.n5.nabble.com/Doubt-on-File-Transfer-using-spring-tp5724167.html Sent from the Camel - Users mailing list archive at Nabble.com.