camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: What are the differences between using preMove and readLock=rename
Date Tue, 30 Aug 2011 12:09:36 GMT
On Tue, Aug 30, 2011 at 2:03 PM, bbuzzard
<> wrote:
> When I first read your response I guess I missed the part about preMove
> happens after the readLock has determined it's ok to consume the file.  So
> if readLock=none then it might be possible for the preMove to move a file
> that was still being written to.  Is that correct?


The readLock also have a timeout option, so you can have Camel wait a
bit trying to obtain the read-lock.

And only of the lock is acquired, Camel will process the file, which
means only at this point in time,
the preMove is being executed.

> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Twitter: davsclaus, fusenews
Author of Camel in Action:

View raw message