You have even write a custom Java Code for FTP file retrieval in a Camel
processor bean after receiving the data from jms queue.

Like

<from uri="activemq:InfoQueue"/>
<to uri="bean:RetrieveFile"/>
<to uri=""..../>


<bean id="RetrieveFile" class="package.FTPClient"/>

and write a java code  in FTPClient.java implementing the interface
Processor which takes in a object of Exchange. Once the file is received,
just add it to the exchange as exchange.getIn().setBody(fileObject).......


Cheers
Reji




--
View this message in context: 
http://camel.465427.n5.nabble.com/Passing-exchange-between-routes-and-accessing-exchange-values-in-from-uri-tp5749667p5749726.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to