Browse Source

Adding .enabled to spring.cloud.loadbalancer.retry property

Addresses a documentation bug identified in #193
pull/497/head
Ryan Baxter 8 years ago committed by GitHub
parent
commit
e34da9f03f
  1. 2
      docs/src/main/asciidoc/spring-cloud-commons.adoc

2
docs/src/main/asciidoc/spring-cloud-commons.adoc

@ -349,7 +349,7 @@ for details of how the `RestTemplate` is set up. @@ -349,7 +349,7 @@ for details of how the `RestTemplate` is set up.
A load balanced `RestTemplate` can be configured to retry failed requests.
By default this logic is disabled, you can enable it by setting
`spring.cloud.loadbalancer.retry=true`. The load balanced `RestTemplate` will
`spring.cloud.loadbalancer.retry.enabled=true`. The load balanced `RestTemplate` will
honor some of the Ribbon configuration values related to retrying failed requests.
The properties you can use are `client.ribbon.MaxAutoRetries`,
`client.ribbon.MaxAutoRetriesNextServer`, and `client.ribbon.OkToRetryOnAllOperations`.

Loading…
Cancel
Save