Have you tired setting idempotent=true in your file endpoint URI? Check for the "idempotent" option in the "Consumer" section of http://camel.apache.org/file2.html.
On Wed, Jun 29, 2016 at 5:43 AM, Hans Orbaan <hans.orb...@docdata.eu> wrote: > Hi All, > > When a file has been processed correctly, it can be moved to a processed > folder (?move=processed). If this move fails, files will be processed over > and over again. Is there something that can be done about this? > A solution in Camel could be to automatically start using the idempotent > repository so they won't be processed as many times. > > Does anyone have a workable solution to prevent processing over and over > again which can be used with current versions? Any solution that is > feasible for future releases? > > Thanks for any help!!1 > > With kind regards, > > Hans Orbaan >