Skip to content

Instantly share code, notes, and snippets.

@mchernyavskaya
Last active July 23, 2017 11:34
Show Gist options
  • Save mchernyavskaya/82355680c116d245fbec0eb2c514f4d4 to your computer and use it in GitHub Desktop.
Save mchernyavskaya/82355680c116d245fbec0eb2c514f4d4 to your computer and use it in GitHub Desktop.
Spring Retry Illustration - success
// we do not catch anything here
System.out.println("\n*** Executing successfull callback...");
retryTemplate.execute(new SuccessCallback(), new LoggingRecoveryCallback());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment