Versions Compared

Key

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

...

A third feature is that you can attach a onWhen predicate to signal if the catch should trigger or not at runtime.

And to simulate rehrowing rethrowing an exception from a doCatch you should use the handled predicate. If its evaluated to false Camel will reattach the exception on the Exchange.

...