I did find the problem and the solution.
The problem is that Camel always rolled back the file at the from SFTP URI
so the entire route is repeated indefinitely. There was no way (I could
find) to configure Camel to break out of this route with an exception when
the unmarshal bean threw an except
You cannot do that, but you can track the failures handled attribute
in JMX which we be incremented when you handle that exception.
On Mon, Nov 6, 2017 at 8:22 PM, David Hoffer wrote:
> I’m having trouble getting the exception behavior I’m looking for. What I
> expected this to do is when any e
Hello Jack,
if handled is set to "false" then the exception is not handled, so it will
be stored as an exception on the exchange and break out from the route.
Continued should be available for use, Not sure why isnt it working in your
case.. can you upgrade to latest and check if you still get th
Nothing seems to jump out.
Would you be able to share you entire camel context?
Thanks
--
Andrew Block
On June 24, 2015 at 3:21:30 PM, jackkirsten (jkfrie...@hotmail.com) wrote:
Hi Andrew,
I'm also hitting the same exception. If is available to use, why
is not working? This is what I h
Hi Andrew,
I'm also hitting the same exception. If is available to use, why
is not working? This is what I have and Camel doesn't seem to be happy with
it. I want to log the error and move on with the route rather than stopping
the flow. If I set Handled = false, wouldn't it break the flow?
Continued is not a valid option in the catch block. By default the route will
continue since it is the assumption that the catch logic will handle any any
failures and continue. You can set the false if
you want to propagate the exception.
- Andy
--
Andrew Block
M: (716) 870-2408
On March 31
Hello Claus
thanks a lot for the tip!
w/kindest regards
marco
On Sat, Aug 25, 2012 at 9:02 AM, Claus Ibsen wrote:
> On Fri, Aug 24, 2012 at 10:27 PM, Marco Mistroni
> wrote:
> > HI all
> > i have implemented exception handling in my camel app this way
> >
> >
> >
> >
On Fri, Aug 24, 2012 at 10:27 PM, Marco Mistroni wrote:
> HI all
> i have implemented exception handling in my camel app this way
>
>
>
> />
>
> uri="bean:sharesEndpointBean?method=handleBloombergShare" />
>
>