Apache Camel provides several different mechanisms, which let you handle exceptions at
different levels of granularity: you can handle exceptions within a route using
doTry, doCatch, and doFinally; or you can specify
what action to take for each exception type and apply this rule to all routes in a
RouteBuilder using onException; or you can specify what action
to take for all exception types and apply this rule to all routes in
a RouteBuilder using errorHandler.
For more details about exception handling, see Dead Letter Channel.








