Re: failing move to processed, processing over and over again

2016-06-29 Thread souciance
Claus Ibsen > - > http://davsclaus.com @davsclaus > Camel in Action 2: https://www.manning.com/ibsen2 > > > -- > If you reply to this email, your message will be added to the discussion > below: > > http://camel.465427.n5

RE: failing move to processed, processing over and over again

2016-06-29 Thread Hans Orbaan
@camel.apache.org Onderwerp: Re: failing move to processed, processing over and over again You can move the failed files to an error folder. But you need to think generally about error handling and how you want to deal with that. On Wed, Jun 29, 2016 at 11:43 AM, Hans Orbaan <hans.orb...@docdata.eu>

Re: failing move to processed, processing over and over again

2016-06-29 Thread Claus Ibsen
You can move the failed files to an error folder. But you need to think generally about error handling and how you want to deal with that. On Wed, Jun 29, 2016 at 11:43 AM, Hans Orbaan wrote: > Hi All, > > When a file has been processed correctly, it can be moved to a

Re: failing move to processed, processing over and over again

2016-06-29 Thread Steve973
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 wrote: > Hi All, > > When a file has been processed

failing move to processed, processing over and over again

2016-06-29 Thread Hans Orbaan
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