Versions Compared

Key

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

...

Here if the processing of seda:inputA or seda:inputB cause a ValidationException to be thrown (such as due to the XSD validation of the Validator component or the Relax NG Compact syntax validation of the Jing component), then the message will be sent to activemq:validationFailed queue.

Changes in Camel 1.5

In Camel 1.5 the exception clauses has been renamed to onException and it also supports multiple exception classes:

Code Block

onException(MyBusinessException.class, MyOtherBusinessException.class).
  to("activemq:businessFailed");

Overloading the RedeliveryPolicy

...