Skip to main content

Logs and errors components

cErrorHandler Processes errors in the message routing.
cIntercept Intercepts each message sub-route and redirects it in another sub-route without modifying the original one. When this detour is complete, message routing to the originally intended target endpoints continues. This can be useful at testing time to simulate error handling.
cLog Logs message exchanges in a Route.
cOnException Catches the exceptions defined and triggers certain actions which are then performed on these exceptions and the message routing.
cTry Offers the Java equivalent exception handling abilities by building Try/Catch/Finally blocks to isolate the part of your Route likely to generate an error, catch the errors, and execute final instructions regardless of the errors.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!