camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rrajen2 <>
Subject Issues with Exclusive File ReadLock
Date Mon, 28 Apr 2014 21:43:19 GMT
 Below is my envmt of Camel application deployment

OS: Suse Linux
File System nodes: Distributed file system based out of NAS mounted through
NFS. They are mounted on 2 Linux nodes though Camel only runs in one of the

There is a file reader as shown below:

"&idempotentKey=${file:name}-${file:size}-${date:now:yyyyMMddssSSS}" +
"&antInclude={{fmsSys.root.ClientFile.Mailbox.AntIncludeDir}}" +

 If the file size is large (about 750MB) whereby you have a slow writer and
if FTP transferred/Linux copied to Camel Linux node, the above code works
fine by getting the ExclusiveRead Lock and doing the premove of the file
completely. However if the same file is FTP transferrered/Linux copied to
non Camel Linux node (acting just as a file mount), it does a premove
wrongly whereby only partial file is moved (ie about 500MB). 

Options tried:
 1)readLock=markerFile //doesn't even work
 2)readLock=rename// doesn't work even on the Camel linux node
 3)I did read the section titled "Consuming files from folders where others
drop files directly" on the page, which
didn't assist me further.

Please advice what could be done to make it work?

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

View raw message