Re: Apache Camel Exception Handling doubt

2022-06-19 Thread ski n
ds RouteConfigurationBuilder { > >@Override >public void configuration() throws Exception { > routeConfiguration("test-route-configuration-id") > .onException(Exception.class) > .handled(true) // discard the msg > .log(LoggingLevel.INFO, ">>>>>

Re: Apache Camel Exception Handling doubt

2022-06-17 Thread j vh
outeConfiguration("test-route-configuration-id") .onException(Exception.class) .handled(true) // discard the msg .log(LoggingLevel.INFO, ">>>>> Hit this custom error handler: ${exception.message}") .end(); } }

Re: Apache Camel Exception Handling doubt

2022-06-17 Thread Ephemeris Lappis
Hello. Ideally, I'd like to replace the long repetitive code from all the existing projects blueprints (and future projects too). We have something like the following sequence in every project : http://www.osgi.org/xmlns/blueprint/v1.0.0;

Re: Apache Camel Exception Handling doubt

2022-06-17 Thread ski n
Hi, It's good to provide a code example to see what you tried. Have you also tried to combine it with route configuration? https://camel.apache.org/manual/route-configuration.html This is available from 3.12. Raymond On Thu, Jun 16, 2022 at 7:43 PM j vh wrote: > Hello, > btw... I'm using

Re: Apache Camel Exception Handling doubt

2022-06-16 Thread j vh
Hello, btw... I'm using Camel 3.13.0 for this work. ...jvh003

RE: Apache Camel Exception Handling doubt

2022-06-16 Thread j vh
Hello, I am also trying to use global exception configuration in a Camel route that is built from a template. The template is created ok and the route created from it is also ok & working. But the global exception handling is not working as expected. Maybe there is another way to customize the

Apache Camel Exception Handling doubt

2022-03-31 Thread Chawla, Manan
Hey, I am trying to integrate Global OnException block with route template but the onException block isn’t getting executed. Can you please suggest me a way to get around this issue? Thank you Regards, Manan Chawla

Re: Camel exception handling

2017-11-07 Thread David Hoffer
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

Re: Camel exception handling

2017-11-07 Thread Claus Ibsen
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

Camel exception handling

2017-11-06 Thread David Hoffer
I’m having trouble getting the exception behavior I’m looking for. What I expected this to do is when any exception is thrown it will cause this route to fail and not do any retries as the docs say that no onException retries is the default. However instead it retries forever as long as the

Re: camel - exception handling

2015-06-25 Thread yogu13
the issue? Regards, -Yogesh -- View this message in context: http://camel.465427.n5.nabble.com/camel-exception-handling-tp5765089p5768547.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel - exception handling

2015-06-24 Thread Andrew Block
log message=*** Message: ${exception.message} *** / log message=${exception.stacktrace} / /onException How do I make the continued to work fine? I'm using Came 2.9.2. Thanks. -- View this message in context: http://camel.465427.n5.nabble.com/camel-exception-handling

Re: camel - exception handling

2015-06-24 Thread jackkirsten
message=${exception.stacktrace} / /onException How do I make the continued to work fine? I'm using Came 2.9.2. Thanks. -- View this message in context: http://camel.465427.n5.nabble.com/camel-exception-handling-tp5765089p5768544.html Sent from the Camel - Users mailing list

camel - exception handling

2015-03-31 Thread contactreji
.465427.n5.nabble.com/camel-exception-handling-tp5765089.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: camel - exception handling

2015-03-31 Thread Andrew Block
://in.linkedin.com/pub/reji-mathews/31/9a2/40a Twitter - reji_mathews -- View this message in context: http://camel.465427.n5.nabble.com/camel-exception-handling-tp5765089.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel Exception Handling issue

2012-08-25 Thread Claus Ibsen
On Fri, Aug 24, 2012 at 10:27 PM, Marco Mistroni mmistr...@gmail.com wrote: HI all i have implemented exception handling in my camel app this way camel:route camel:from uri=seda:processBloombergShares / camel:bean ref=bloombergServiceActivator method=fetchData /

Re: Camel Exception Handling issue

2012-08-25 Thread Marco Mistroni
Hello Claus thanks a lot for the tip! w/kindest regards marco On Sat, Aug 25, 2012 at 9:02 AM, Claus Ibsen claus.ib...@gmail.com wrote: On Fri, Aug 24, 2012 at 10:27 PM, Marco Mistroni mmistr...@gmail.com wrote: HI all i have implemented exception handling in my camel app this way