Browse Source

Clarify example in docs. Fixes gh-805.

reset
Olga Maciaszek-Sharma 2 years ago
parent
commit
e70b66c187
  1. 2
      docs/src/main/asciidoc/spring-cloud-openfeign.adoc

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

@ -199,6 +199,8 @@ feign: @@ -199,6 +199,8 @@ feign:
queryMapEncoder: com.example.SimpleQueryMapEncoder
metrics.enabled: false
----
`feignName` in this example refers to `@FeignClient` `value`, that is also aliased with `@FeginClient` `name` and `@FeignClient` `contextId`. In a load-balanced scenario, it also corresponds to the `serviceId` of the server app that will be used to retrieve the instances.
Default configurations can be specified in the `@EnableFeignClients` attribute `defaultConfiguration` in a similar manner as described above. The difference is that this configuration will apply to _all_ feign clients.

Loading…
Cancel
Save