Skip to content

mwojtaczka/spring-retry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring retry

This repo contains examples of Spring retry usage.

Where to start

To start I recommend clone repo and go through code starting from test classes:

  • MyAnnotatedRetryableServiceImplTest - contains usage of @Retryable annotation which is defined and configured directly in MyAnnotatedRetryableService (don't forget @EnableRetry above one of configuration classes)
  • MyRetryableServiceWithRetryTemplateTest - more advanced way to use retries is to use RetryTemplate which is configured in RetryTemplateConfig. That is what those couple of tests introduce into.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages