Oh! It is definitely new page of Camel for me :) Many thanks!

On 6/10/22 13:51, Claus Ibsen wrote:
See route configuration
https://camel.apache.org/manual/route-configuration.html

On Fri, Jun 10, 2022 at 12:47 PM Vyacheslav Boyko <mail4...@gmail.com> wrote:

    Hi!

    According to docs I am able to handle exception per route or per
    whole
    routes.
    1) from(...).onException()... - is per route
    2) onException()... - is for whole routes

    But how to split exception handlers per RouteBuilder classes in one
    application?
    All my business logic is divided into RouteBuilders for better
    readiness.
    Most of routes into each route builders are to make SOAP requests
    into
    our partner's application (not on my control).
    I want to handle exceptions separately in order to prepare different
    messages for them in each process.

-- Vyacheslav Boyko
    mailto:mail4...@gmail.com



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

--
Vyacheslav Boyko
mailto:mail4...@gmail.com

Reply via email to