camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stalbot <>
Subject Re: Nested doTry-doCatch blocks
Date Mon, 12 Jun 2017 21:54:40 GMT
I ran into this today.  I have a route with doTry/doCatch, where in the
doCatch there is a choice()when()otherwise() block.  The code never reaches
"point 2" for me, even when MyHttpException is not thrown.

          .log(level.INFO, log, "Reaches point 1.")
     .log(level.INFO, log, "Reaches point 2.")

In the documentation doTry/doCatch/doFinally is always at the end of the
route, so I can't tell how to end that block and have code after it (i.e.:
point 2).

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

View raw message