...
Note | ||
---|---|---|
| ||
If the route is transactional then the Dead Letter Channel is disabled. The |
Tip | ||
---|---|---|
| ||
Using Error Handler combined with Exception Clause is a very powerful ally. We encourage end-users to use this combination in your error handling strategies. See samples and Exception Clause. |
These error handlers can be applied in the DSL to an entire set of rules or a specific routing rule as we show in the next examples. Error handling rules are inherited on each routing rule within a single RouteBuilder
...
As of Camel 1.4 you can configure the ExceptionPolicyStrategy as this example shows. Notice that we use [ Exception Clause to handle known exceptions being thrown.
...