ic class MyCustomErrorHandler extends RouteConfigurationBuilder {
>
>@Override
>public void configuration() throws Exception {
> routeConfiguration("test-route-configuration-id")
> .onException(Exception.class)
> .handled(true) // discard the msg
> .log(LoggingLe
hrows Exception {
routeConfiguration("test-route-configuration-id")
.onException(Exception.class)
.handled(true) // discard the msg
.log(LoggingLevel.INFO, ">>>>> Hit this custom error handler:
${exception.message}")
.end();
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";
xmlns:cm="http://aries.apache.org/blueprint/xmlns/bl
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 Ca
Hello,
btw... I'm using Camel 3.13.0 for this work.
...jvh003
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
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