Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-cloud-netflix
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
spring-cloud-netflix
Commits
465b8273
Commit
465b8273
authored
Feb 28, 2017
by
nick-pww
Committed by
Spencer Gibb
Feb 28, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify @FeignClient alias creation
fixes gh-1073
parent
129e0ce4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
spring-cloud-netflix.adoc
docs/src/main/asciidoc/spring-cloud-netflix.adoc
+2
-4
No files found.
docs/src/main/asciidoc/spring-cloud-netflix.adoc
View file @
465b8273
...
...
@@ -912,10 +912,8 @@ balancer (see <<spring-cloud-ribbon,below for details of Ribbon
support
>>).
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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment