This content has been marked as final.
Show 1 reply
-
1. Re: FTP check file exists
davsclaus Aug 4, 2009 11:29 AM (in response to vector_jdev.work)Hi
You use case requires a different strategy.
You can use Polling Consumer EIP instead
http://camel.apache.org/polling-consumer.html
Of using Event Driven Consumer EIP
http://camel.apache.org/event-driven-consumer.html
That the really is.
So you can use a timer scheduler to trigger every 5th second to a processor/bean.
And in this code you can consume the file from the FTP server.
See the sample - Timer based polling consumer on the polling consumer wiki page.