What if you restart camel, will files be processed again? I assume
so, which is not good either.
On Nov 18, 2008, at 1:57 PM, Jon Anstey wrote:
The algorithm that checks whether a file should be consumed based on
timestamp has been deprecated for a while now (see
http://activemq.apache.org/camel/file.html). I've removed this on my
local
branch only to realize that it introduces a bit of an ugly problem...
essentially since files will be processed always (modified or not)
in the
case of noop=true or if a fault has been set, the same file will be
processed over and over again... not good!
The original intent of removing the timestamp checking was to
simplify the
consumer. I think that in trying to get around this new issue we may
make it
even more complicated!
I'm wondering if there is a simple solution to this that I'm just
not seeing
yet or if maybe this issue was discussed before...
--
Cheers,
Jon
http://janstey.blogspot.com/