-
Notifications
You must be signed in to change notification settings - Fork 519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Retry-After HTTP header #104
Comments
Interesting idea. Spring Retry has no dependency on HTTP though. So you would have to implement it as a |
Sure, that makes sense. Do I understand it correctly that it should be possible even now? Or is there anything needed to be done in Spring Retry itself? Thank you. |
You might need to provide a custom |
Thanks, will have a look at it. |
Hey, how it ended up? |
|
Did you do it in your custom Backoff policy? |
No. |
Okay, I guess your intention isn't to be helpful. |
i had the same requirement and did a basic implementation for the
|
It would be great if Spring Retry could support
Retry-After
HTTP header. Currently, this is not possible because one gets this header (and its value) from the response itself. In other words, it would be nice to have a way to set BackOff policy with a possibility to adjust it during retrying based on the value of theRetry-After
header.The text was updated successfully, but these errors were encountered: