spring-cloud/spring-cloud-openfeign

Dynamically set the url of FeignClient

shog808 opened this issue · 1 comments

as known if a service have some nodes, we can set the url of the FeignClient to call the certain node。
now i want set the url dynamically in the class FeignClientsRegistrar.java through the contents of bootstrap.yml

and i set it successed and the feignClient call the method through the url i setted,

but it have an error : not found (404)
why is this ?

the error 404 is my fault