Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
holy12345 authored and ryanjbaxter committed Dec 12, 2017
1 parent 26a429c commit 2079837
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -105,6 +105,7 @@ public void customize(RestTemplate restTemplate) {
@ConditionalOnClass(RetryTemplate.class)
public static class RetryAutoConfiguration {
@Bean
@ConditionalOnMissingBean
public RetryTemplate retryTemplate() {
RetryTemplate template = new RetryTemplate();
template.setThrowLastExceptionOnExhausted(true);
Expand Down

0 comments on commit 2079837

Please sign in to comment.