It was breaking the loop. But I found a bug in my code that resolved the
issue. However, that was useful tip.
Thank you for your time :).
--
View this message in context:
http://camel.465427.n5.nabble.com/Loop-should-continue-after-exception-caught-tp5787979p5788163.html
Sent from the Camel -
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()
Hi Ibsen,
I see a case here that you responded earlier.
http://stackoverflow.com/questions/31312281/apache-camel-loop-does-not-stop-on-exception
https://issues.apache.org/jira/browse/CAMEL-8945
So, can't I continue after catching the exception in loop?
In my case, after catching the exception,
Yes, I use 2.17.3.
--
View this message in context:
http://camel.465427.n5.nabble.com/Loop-should-continue-after-exception-caught-tp5787979p5788064.html
Sent from the Camel - Users mailing list archive at Nabble.com.
What version of Camel do you use? And have you tried upgrading and use latest?
On Fri, Sep 23, 2016 at 10:45 PM, ptatTransamerica wrote:
> Hi,
>
> I am looking for the option to continue the loop after catching the
> exception in the route.
> e.g
>
>
> ${body.size}
>
> .calling