I am using Feign Client,
I have a Location service. So I created a client for my LocationService using FeignClient.
@FeignClient(url=\"http://localho
You can define a fallback client that is called when an exception like timeout or connection refused comes up:
@FeignClient(url="http://localhost:9003/location/v1", name="location-service", fallback=LocationFallbackClient.class)
public interface LocationControllerVOneClient {
...
}
LocationFallbackClient
must implement LocationControllerVOneClient
.