We have a scenario where we are consuming a large number of files, using the
file component and passing off the processing to seda routes. 
The component is moving the file (preMove) and moving to a completed
directory once done. 

The throughput is particularly poor, and think it may be because of the
rename behaviour. 

Changing the log level, we see the rename process falling back to use a
copyAndDelete implementation. The standard file rename always fails; the
1000ms sleep time is the reason the throughput is bad.

We're running on Linux, copying between 2 different NFS mount points. 

Has anyone seen this in the past? Apart from patching the Camel class, does
anyone have any suggestions for how to overcome this? Would like to avoid
writing a custom component with our own copy implementation.

http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/util/FileUtil.java?view=markup



--
View this message in context: 
http://camel.465427.n5.nabble.com/File-Component-Default-rename-behaviour-tp5734024.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to