How to stop Camel Context after all files FTP?

2016-04-14 Thread yamini
I wrote below code to FTP files from remote server. I need to do FTP only one time and get all files from remote system. But with below code, I need to specify how much time to wait before stopping the context. Is it possible to specify stop only after all files FTP. { final CamelContext camel

how to implement event driven FTP listener?

2016-04-05 Thread yamini
I have a need to listen to the FTP server. Whenever there is a file in FTP location I need to get callback. How can I implement it with Camel FTP. I have many FTP servers to subscribe and listen to the new files. When there are new files I need to ftp them to local folders. -- View this message