Please rephrase your question. You cannot have 2 from's in a route. A from sets up a consumer which is kinda the listener for messages to be processed on the route. The ftp consumer continuously looks for new files to be processed on a ftp server, but depending on the application you may have or want to process one or more files at a time.

Describing your problem gives you better chances to get useful help.

Hadrian


On 02/04/2014 09:08 AM, mister blinky wrote:
Can you configure ftp to check ONLY when invoked via a direct? That is

from("direct:checkForFiles")
.from("ftp:...")

such that the from("ftp:...) is ONLY invoked when the from("direct:...") is
invoked?

thank you.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Basic-from-fp-to-file-route-Need-clarification-1M-Thanks-tp4950632p5746785.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to