Replies: 3 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
0 replies
-
Yes, IIRC, this will work. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@michalszynkiewicz will this also work if the retries are configured on the methods? E.g. @RegisterRestClient(configKey = "my-api") @post @post |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Will this work?
@RegisterRestClient(configKey = "my-api")
@Retry(delay = 1, delayUnit = ChronoUnit.SECONDS, maxRetries = 5)
@ExponentialBackoff
public interface MyRestClient {
... my methods for get/post
}
Such that any rest api in MyRestClient will automatically be retried if an error is returned?
Beta Was this translation helpful? Give feedback.
All reactions