Browse Source

Merge remote-tracking branch 'origin/3.1.x' into 4.0.x

4.0.x
Olga MaciaszekSharma 1 year ago
parent
commit
a738a87dda
  1. 2
      docs/src/main/asciidoc/spring-cloud-openfeign.adoc

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

@ -217,7 +217,7 @@ spring: @@ -217,7 +217,7 @@ spring:
queryMapEncoder: com.example.SimpleQueryMapEncoder
micrometer.enabled: false
----
`feignName` in this example refers to `@FeignClient` `value`, that is also aliased with `@FeignClient` `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.
`feignName` in this example refers to `@FeignClient` `value`, that is also aliased with `@FeignClient` `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. The specified classes for decoders, retryer and other ones must have a bean in the Spring context or have a default constructor.
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