Description
I have following route (simplified)
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(). . . .
that doesn't print blahblahblah. When I replace rolback() with throwException(new RuntimeException("Failed to upload")) it does.