Hi,

I'm trying to manage exceptions in my Java DSL routes (and sub-routes) by 
setting errorHandler(noErrorHandler()) so that exceptions can propagate to 
parent routes with their custom error handler. However, this doesn't seem to 
work whenever exceptions are thrown within routes being called by the enrich() 
and recipientList() patterns. However, if I switch to 
erroHandler(defaultErrorHandler()) or doing a
doTry()
   .enrich( ...)
doCatch()

then I can see the exception. Can anyone explain whether this is correct 
behaviour or whether I'm missing something? If this is the case, an explanation 
of why this is the case would be greatly appreciated.

I'm using Camel v 2.11.1.

Many Thanks!
Elvio

Reply via email to