Re: File2 error during commit, how can I handle the exception?

2018-05-22 Thread Zoran Regvart
Hi Martin, to handle exceptions at that stage you need to register your ExceptionHandler as `onCompletionExceptionHandler` on the file endpoint[1]. zoran [1] https://github.com/apache/camel/blob/master/camel-core/src/main/docs/file-component.adoc#user-content-query-parameters-85-parameters On

File2 error during commit, how can I handle the exception?

2018-05-20 Thread Martin Lichtin
Using the File2 component (2.19.5), I'm provoking a situation with the "move" folder no longer being writable. This causes the following exception to occur and logged during the "commit" phase. And then, with every consumer poll, the same file is being imported again and again! Not a good