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

Reply via email to