Yasser Zamani created CAMEL-18042: ------------------------------------- Summary: doCatch of a rollback only executes one line after doCatch and prune the rest of the route Key: CAMEL-18042 URL: https://issues.apache.org/jira/browse/CAMEL-18042 Project: Camel Issue Type: Bug Components: came-core Affects Versions: 3.16.0 Reporter: Yasser Zamani Fix For: 3.17.0
I have following route (simplified) {code:java} from("quartz://MY_CTRL?cron=0+0/10+8-12+?+*+MON-FRI").routeId("MY_CTRL"). transacted("PROPAGATION_NEVER"). . . . doTry(). to("direct:MY_CSV"). doCatch(Throwable.class). log("CSV generation or upload failed. So delete azure blob"). log("blahblahblah"). end(); // end try from("direct:MY_CSV").routeId("MY_CSV"). transacted(). . . . filter(body().isNotEqualTo(Boolean.TRUE)). rollback() stop(). end(). . . . {code} that doesn't print {{blahblahblah}}. When I replace {{rolback()}} with {{throwException(new RuntimeException("Failed to upload"))}} it does. -- This message was sent by Atlassian Jira (v8.20.7#820007)