camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kumaap <>
Subject Re: Exception in the DeadLetterChannel causes message to be consumed
Date Thu, 22 Jul 2010 13:32:56 GMT

Ive upgraded to 2.4 

and the same thing is still happing 


public boolean process(Exchange exchange, AsyncCallback callback) {
            if (processor == null) {
                // no processor then we are done
                return true;
            try {
            } catch (Throwable e) {
                // must catch throwable so we catch all
                exchange.setException(e);   <-- Sets an exception when
failure processor fails  
            } finally {
                // we are bridging a sync processor as async so callback
with true
            return true;

Then carries on and acts like nothing has happened. I cant see any code that
checks if an exception happen in processing the failureProcessor

Thanks in advance kumaap

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message