Using Spring as an object factory to control the lifecycle of ribbon clients. So far we have a single, parameterized configuration class for all clients, but can be extended to allow user to supply additional configuration. The current model for user extensions is @EnableRibbonClient(@RibbonClient(name = "foo", configuration = FooConfiguration.class)) public class MainConfiguration { ... } So in this example, MainConfiguration is part of the "main" application context and FooConfiguration is used to create the Ribbon client and load balancer for the "foo" service.
Name |
Last commit
|
Last update |
---|---|---|
docs | Loading commit data... | |
spring-cloud-netflix-core | Loading commit data... | |
spring-cloud-netflix-eureka-server | Loading commit data... | |
spring-cloud-netflix-hystrix-dashboard | Loading commit data... | |
spring-cloud-netflix-sidecar | Loading commit data... | |
spring-cloud-netflix-turbine | Loading commit data... | |
.gitignore | Loading commit data... | |
.settings.xml | Loading commit data... | |
.travis.yml | Loading commit data... | |
Guardfile | Loading commit data... | |
README.adoc | Loading commit data... | |
RUNNING.md | Loading commit data... | |
TODO.md | Loading commit data... | |
asciidoctor.css | Loading commit data... | |
pom.xml | Loading commit data... |