Do you find it is always breaking out of the loop or never breaking out? 
When I try the following code, the loop continues after being caught, unless
I set the "CamelRouteStop" property, as shown below.

        from("direct:loopTest")
        .loop(simple("${body.size}"))
        .doTry()
           .process(new Processor1())
           .to("log:LogPoint1")
        .doCatch(Exception.class)
          .setProperty("CamelRouteStop", constant(Boolean.TRUE))
          .to("log:exception")
        .endDoTry();




--
View this message in context: 
http://camel.465427.n5.nabble.com/Loop-should-continue-after-exception-caught-tp5787979p5788159.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to