THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
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.
...