camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashwin Pejavar <>
Subject Done file not deleted
Date Thu, 11 Jul 2013 00:33:16 GMT
This is specific to camel 2.11.0. Done file deletion worked as expected in

I have a fileConsumer configured for a directory with done files. It is
expected that every file dropped in the directory has a <filename>.done

In both 2.10.0 and 2.11.0 files are consumed successfully when copied over
with the appropriate done file. However in 2.11.0, only the done file
associated with the last file is deleted. All the other done files remain.

Looking at the code in GenericFileOnCompletion.processStrategyCommit(...)
for 2.11.0, only the done file associated with the last file in batch is

It sounds like the intent was only one done file for a batch. But this is an
incorrect assumption that does not line up with documentation. It might work
when I have a non-specific done file name (e.g. start) when I want to
process all files in a directory, but definitely won't work when I have a
done file per input file.

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

View raw message