Its redeliveryDelay() on Exception not delay()
the following routes works
onException(RestClient500SeriesException.class)
.maximumRedeliveries(retries).redeliveryDelay(retryDelay)
.process(dispatch5
is there any other way that I can use delay , I am trying to use redelivery
policy and I am using spring java Configuration for instatiating beans
@Bean RedeliveryPolicy dispatcherRedeliveryPolicy(){
return policy;
}
onException(RestClient500SeriesException.class).redeliveryPolicyRef(dispatcher
Maybe its the AMQ broker the retrys. Are you sure its Camel, and that
the onException is being triggered.
We got a zillion tests in camel, so I think its something wrong on your end.
On Tue, Aug 14, 2012 at 4:31 PM, Sri wrote:
> Hi,
>
> I am using camel onException() cluase with redeliveries(3).