79679486

Date: 2025-06-25 18:10:56
Score: 2
Natty:
Report link

@Retryable annotation has a "recover" parameter that can be used to define the exact recovery method regardless of the exception class or method signature.
example:

@Retryable(retryFor = {HttpServerErrorException.class, ResourceAccessException.class}, recover="myRecover")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Retryable
  • Low reputation (1):
Posted by: Johnny Farraj