Hi,

I have a scenario where I need to sftp files from a directory to which files
are being written by another route. I am using file readlock=changed on that
directory. However, the readlock is taken on one file and not all the files.
Hence, when the file component gets the readlock on any one of the files in
the directory, it triggers the sftp component which results in the partial
file transfer of the files to the remote server.

Is there a possibility in camel where we can obtain the readlock on the
directory and once the writing to all the files on that directory is
complete the next step is triggered.

Thanks,
Ganga



--
View this message in context: 
http://camel.465427.n5.nabble.com/File-readlock-on-multiple-files-in-a-directory-tp5798696.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to