| 1. |
How Are Exception Handled Using Apache Camel? |
|
Answer» Exception can be handled using the <try> <catch> block, <OnException> block or the <errorHandler> block. The errorHandler is USED to handle any uncaught Exception that gets THROWN during the routing and processing of a message. CONVERSELY, onException is used to handle SPECIFIC Exception types when they are thrown. Exception can be handled using the <try> <catch> block, <OnException> block or the <errorHandler> block. The errorHandler is used to handle any uncaught Exception that gets thrown during the routing and processing of a message. Conversely, onException is used to handle specific Exception types when they are thrown. |
|