Re: Why dead letter channel doesn't work after adding Processor to onException?

2013-05-15 Thread Franz Paul Forsthofer
Hi Rafal, please try handled(false); My understanding is that then the error handler is called. However, I do not understand why the first example with handled(true) works. Regards Franz Forsthofer -- SAP AG e-mail: franz.forstho...@sap.com On Tue, May 14, 2013 at 10:53

Why dead letter channel doesn't work after adding Processor to onException?

2013-05-14 Thread rafaljaw
Hi all, I have simple route that takes messages from [Input] and forwards them to [Output], or to [Failed] (dead letter queue) if something bad happens: errorHandler(deadLetterChannel("jms:queue:Failed") .maximumRedeliveries(1) .redeliveryDelay(0)); onException(Throwable.