public class RibbonModule
extends java.lang.Object
Feign's client,
adding smart routing and resiliency capabilities provided by Ribbon.
Target.url() is set to as http://clientName
or https://clientName. clientName
will lookup the real url and port of your service dynamically.
MyService api = Feign.create(MyService.class, "http://myAppProd", new RibbonModule());Where
myAppProd is the ribbon client name and myAppProd.ribbon.listOfServers configuration
is set.| Constructor and Description |
|---|
RibbonModule() |