Hi Monish, What is your use case ? If you use Apache Camel to transfert the files from a directory to a FTP Server, what would you like to do next ("I want the route to execute only till all the files in the directory are transferred") ? If I follow you correctly, you are interested to setup 2 camel routes; one transferring the files from a dir to a ftp server and the second which is triggered if all the files have been transferred ?
Regards, On Mon, Sep 1, 2014 at 6:38 PM, samnik60 . <monishs...@gmail.com> wrote: > Hi guys, > I am trying to use camel for the following use case, > > Take all files in a hdfs directory -> transfer the files to a ftp server > > I want the route to execute only till all the files in the directory are > transfered. I have looked at camel-hdfs2 and camel-ftp component , but it > seems to give me a > polling logic. > > Is camel a good fit for this use case or should i use hdfs api and java > ftp api for this. > > Any example or suggestions on which way to proceed will be great. > > Regards, > R.Monish > -- Charles Moulliard Apache Committer / Architect @RedHat Twitter : @cmoulliard | Blog : http://cmoulliard.github.io