Thank you very much!
I need deadLetterChannel, because of custom error logging logic, which saves
message with all errors into db. I think I have to do the following:
onException(IOException.class)
.handled(true).maximumRedeliveries(10)
.retryAttemptedLogLevel(LoggingLevel.WARN).redeliveryDelay(10000)
.to(direct:dead);
onException(Exception.class).to(direct:dead);
and then log in from(direct:dead)
--
View this message in context:
http://camel.465427.n5.nabble.com/move-files-if-message-fails-tp5749154p5749156.html
Sent from the Camel - Users mailing list archive at Nabble.com.