Re: Exit split on exception but continue route

2021-07-28 Thread Claus Ibsen
Hi Take a look at this test https://github.com/apache/camel/commit/3a25314a6856d48dbe6f82301194f494b67415d5 On Wed, Jul 14, 2021 at 10:34 PM Harsh Karn wrote: > > Hi, > > Is there any way to stop executing split on exception but continue running > the rest of the route after split or the outer r

RE: Exit split on exception but continue route

2021-07-15 Thread Cox, Jeremy
ent contact: Text 859.322.3214 Emailjeremy@progeny.net -Original Message- From: Harsh Karn [mailto:harsh.k...@gmail.com] Sent: Thursday, July 15, 2021 9:54 AM To: users@camel.apache.org Subject: Re: Exit split on exception but continue route External E-mail --- CAUTION: This email o

Re: Exit split on exception but continue route

2021-07-15 Thread Harsh Karn
Yes. With .handled(true) it still stops the route immediately when stopOnException() is set. Without .stopOnException() it just continues as normal. What I'm trying to do is to stop the split on exception but continue remaining steps in the route after the split. *Thanks* *Harsh* On Thu, Jul 15

Re: Exit split on exception but continue route

2021-07-14 Thread Вячеслав Бойко
Hi! Did you try .onException(YourException.class) . handle(true) ? Harsh Karn 14 июля 2021 г. 23:34:11 написал: Hi, Is there any way to stop executing split on exception but continue running the rest of the route after split or the outer route? I tried setting stopOnException() but it sto

Exit split on exception but continue route

2021-07-14 Thread Harsh Karn
Hi, Is there any way to stop executing split on exception but continue running the rest of the route after split or the outer route? I tried setting stopOnException() but it stops the route immediately and nothing can be done following the exception. I tried using aggregationtrategy but I don't