From 465b8273ebe6b204a51dbc401a62c75fd7398f0f Mon Sep 17 00:00:00 2001 From: nick-pww Date: Tue, 28 Feb 2017 15:02:15 -0500 Subject: [PATCH] Clarify @FeignClient alias creation fixes gh-1073 --- docs/src/main/asciidoc/spring-cloud-netflix.adoc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/src/main/asciidoc/spring-cloud-netflix.adoc b/docs/src/main/asciidoc/spring-cloud-netflix.adoc index 0de67700..ef55c556 100644 --- a/docs/src/main/asciidoc/spring-cloud-netflix.adoc +++ b/docs/src/main/asciidoc/spring-cloud-netflix.adoc @@ -912,10 +912,8 @@ balancer (see <>). You can also specify a URL using the `url` attribute (absolute value or just a hostname). The name of the bean in the application context is the fully qualified name of the interface. -An alias is also created which is the 'name' attribute plus 'FeignClient'. -For the example above, `@Qualifier("storesFeignClient")` could be used to -reference the bean. If you want to change the default `@Qualifier` value, -this can be done with the `qualifier` value in `@FeignClient`. +To specify your own alias value you can use the `qualifier` value +of the `@FeignClient` annotation. The Ribbon client above will want to discover the physical addresses for the "stores" service. If your application is a Eureka client then