L.S.,
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.
Gert
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.