...
Code Block | ||||
---|---|---|---|---|
| ||||
<onException>
<exception>com.mycompany.ValidationException</exception>
<redeliveryPolicy maximumRedeliveries="2"/>
</onException>
|
You
...
can
...
customize
...
any
...
of
...
the
...
...
so
...
we
...
can
...
for
...
instance
...
set
...
a
...
different
...
delay
...
of
...
5000
...
millis:
Code Block | ||||
---|---|---|---|---|
| ||||
{code:xml} <onException> <exception>com.mycompany.ValidationException</exception> <redeliveryPolicy maximumRedeliveries="2" delay="5000"/> </onException> |
Reusing ReliveryPolicy
Available as of Camel 1.5.1 or later
You can reference a RedeliveryPolicy
so you can reuse existing configurations and use standard spring bean style configuration that supports property placeholders.
...