Re: Backpropagate exception on direct: and vm: routes

2018-01-12 Thread Quinn Stevenson
Try adding true to the onException element Quinn Stevenson qu...@pronoia-solutions.com (801) 244-7758 > On Jan 12, 2018, at 10:44 AM, Miguel Ruiz Velasco Sobrino > wrote: > > the same as me: >

Re: Backpropagate exception on direct: and vm: routes

2018-01-12 Thread Miguel Ruiz Velasco Sobrino
Dear Quinn, I found the following Stackoverflow post asking the same as me: https://stackoverflow.com/questions/34617646/return-back-from-current-route-in-apache-camel-and-continue-routing First I did this: /SomeException/ true

Re: Backpropagate exception on direct: and vm: routes

2018-01-12 Thread Quinn Stevenson
I don’t see an element in the route - are you handling the exception? Quinn Stevenson qu...@pronoia-solutions.com (801) 244-7758 > On Jan 11, 2018, at 12:37 AM, Miguel Ruiz Velasco Sobrino > wrote: > > Hi!, > > I have a route (direct: or VM:) with lots of

Backpropagate exception on direct: and vm: routes

2018-01-10 Thread Miguel Ruiz Velasco Sobrino
Hi!, I have a route (direct: or VM:) with lots of processors, each one does a tiny part of a huge validation. Sometimes a processor in the middle encounters an error (and throws an exception). At this point the validation has to stop, not executing the remainder of the route AND returning to