camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: File readlock on multiple files in a directory
Date Fri, 05 May 2017 19:28:05 GMT
No this is not yet supported. I think there is a JIRA about that
changed readlock to allow to do this holistically over a group of

You can build you own read lock strategy also.

On Fri, May 5, 2017 at 6:15 AM, ganga_camel <> wrote:
> 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:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
----------------- @davsclaus
Camel in Action 2:

View raw message