You may looking for "retryWhile" [1]? [1] http://camel.apache.org/exception-clause.html
Best, Christian ----------------- Software Integration Specialist Apache Camel committer: https://camel.apache.org/team V.P. Apache Camel: https://www.apache.org/foundation/ Apache Member: https://www.apache.org/foundation/members.html https://www.linkedin.com/pub/christian-mueller/11/551/642 On Thu, Jun 20, 2013 at 8:07 PM, swwyatt <steven.wy...@sungard.com> wrote: > Given a redelivery policy contained within an onException, is there a way > to > modify the policy attributes at runtime? I want to be able to set the > maximumRedeliveries specifically. > > > <onException> > <exception>java.lang.Exception</exception> > <redeliveryPolicy maximumRedeliveries="1"/> > </onException> > > v2.8.1 > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Runtime-modification-of-redelivery-policy-tp5734454.html > Sent from the Camel - Users mailing list archive at Nabble.com. >