Hi Claus,
Sorry there was an error in the text a copied over - I am using the
deadLetterChannel as follows and get the problem:
errorHandler(deadLetterChannel("file:\\\\C:\\Errors")).maximumRedeliveries(3).redeliveryDelay(5000).retryAttemptedLogLevel(LoggingLevel.WARN).useOriginalMessage());
from("file:\\\\C:\\Messages\\Inbox?consumer.delay=5000&include=.*.gz").unmarshal().gzip().to("file:\\\\C:\\Messages\\Outbox")
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-handle-error-when-Renaming-file-from-failed-due-cannot-delete-from-file-tp5727493p5727500.html
Sent from the Camel - Users mailing list archive at Nabble.com.