Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.

Wiki Markup
{snippet:id=e1|lang=java|url=activemq/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/exceptionpolicy/CustomExceptionPolicyStrategyTest.java}

...