Hello,
I've a problem using the deadletterchannel in Camel 1.4, with smx3.3.
I define the error handler like this (see below), with MB_ERROR_QUEUE being
a jms queue component.
My problem is with the second "when" clause of my route. When an error
occurs (for example, MB_XLSTRANSFORMER_ENDPONT not available, which produce
a 'could not find route'), it is well managed by the MB_ERROR_QUEUE (jms
queue receives a message, and exchange status is set as done). But the
initial exchange (initiated by ftp poller) is never set to done nor error.
So an exchange stay blocked in the system.
What am I doing wrong? Should camel set the exchange to error or done?
Thanks for your help,
errorHandler(deadLetterChannel(MB_ERROR_QUEUE));
from(MB_FTPPOLLER_ENDPOINT).choice()
.when(header(EXTENSION_PROPERTY).....
.when(header(EXTENSION_PROPERTY).isEqualTo(XLS_EXTENSION))
.to(MB_XLSTRANSFORMER_ENDPONT)
.otherwise().end();
--
View this message in context:
http://www.nabble.com/Problem-with-DeadLetterChannel-and-Smx-tp22109625p22109625.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.