camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gert Vanthienen <>
Subject Re: Retry based on bean method invocation response
Date Tue, 20 May 2008 06:59:42 GMT

I think you should be able to this by implementing your own 
RedeliveryPolicy and plugging it in to the DeadLetterChannel.  Just 
override the shouldRedeliver() method and call anything you want in 
there to determine what to do.


vmasina wrote:
> Is it possible to set retry policy based on response from method invocation
> on a bean?
> I am able to set the retry policy based on exception thrown by a bean
> invocation. Please advice on how to achieve the same retry support based on
> response from the bean method invocation.

View raw message