如何动态更改“ FiengClient”的URL?

时间:2018-08-02 00:58:26

标签: spring-cloud spring-cloud-config spring-cloud-feign

@FeignClient(url = "${foo.url}", name = "foo-service")
public interface FooService {
    ...
}

如何通过spring-cloud-config刷新url的值?

0 个答案:

没有答案