You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have come across a use case where I need to create a different RetryPolicy for each RetryTemplate.execute call. In my use case I am making an HTTP call that I want to retry but the RetryPolicy for that execution is based on information from the HTTP request being made. Given that we could be making multiple HTTP requests at the same time using a simple RetryTemplate is out of question because in theory we could be switching the RetryPolicy before a single request gets a chance to finish. I am wondering if others might think it would be useful to support a RetryPolicy for a given execution in addition to a global RetryPolicy for the template itself?
The text was updated successfully, but these errors were encountered:
I have come across a use case where I need to create a different RetryPolicy for each
RetryTemplate.execute
call. In my use case I am making an HTTP call that I want to retry but theRetryPolicy
for that execution is based on information from the HTTP request being made. Given that we could be making multiple HTTP requests at the same time using a simpleRetryTemplate
is out of question because in theory we could be switching theRetryPolicy
before a single request gets a chance to finish. I am wondering if others might think it would be useful to support aRetryPolicy
for a given execution in addition to a globalRetryPolicy
for the template itself?The text was updated successfully, but these errors were encountered: