You can add  onWhen where you can do a predicate to decide that per message

On Sat, May 13, 2017 at 9:00 AM, Martin Lichtin
<[email protected]> wrote:
> One can define a route exception handling to catch and continue:
>
>  rd.onException(Exception.class).continued(true).process(myExceptionHandler)
>
> However, how can one decide on a per-message basis (ie. in
> myExceptionHandler) whether to continue with the route or not?
>
> Thanks
> - Martin
>



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to