camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GSegel <gsegel...@itsfac.com>
Subject Inconsistent results with File2 'readLock=changed'
Date Mon, 28 Nov 2011 20:34:10 GMT
Using Camel 2.5 in JBoss 5.1.

When dropping large files (over 200MB) into a directory I expected that the
Exchange wouldn't kick off until the file had completed copying.  More often
than not, an Exchange is created before it finishes copying.  We're using
the 'readLock=changed' option btw.

Is the reason that it's processing the file before it's done is that the
file size doesn't change over a 1 second interval?  This has to be the case
but I just wanted to confirm.

I might try upgrading to 2.6 or later to see if the 'readLockCheckInterval'
option might resolve the inconsistencies.  Thoughts?




--
View this message in context: http://camel.465427.n5.nabble.com/Inconsistent-results-with-File2-readLock-changed-tp5030004p5030004.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message