¿Cómo puedo hacer que spring @retryable sea configurable?
Tengo esta pieza de codigo
@Retryable(maxAttempts = 3, stateful = true, include = ServiceUnavailableException.class,
exclude = URISyntaxException.class, backoff = @Backoff(delay = 1000, multiplier = 2) )
public void testThatService(String serviceAccountId)
throws ServiceUnavailableException, URISyntaxException {
// alguna implementación aquí}
¿Hay alguna manera de hacer que los maxAttempts, delay y multiplicador sean configurables usando @Value? ¿O hay algún otro enfoque para hacer que tales campos dentro de las anotaciones sean configurables?