Skip to content

Commit e70b66c

Browse files
committed
Clarify example in docs. Fixes gh-805.
1 parent 5e7eab8 commit e70b66c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,8 @@ feign:
199199
queryMapEncoder: com.example.SimpleQueryMapEncoder
200200
metrics.enabled: false
201201
----
202+
`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.
203+
202204

203205
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.
204206

0 commit comments

Comments
 (0)