Spring boot 为每个方法设置功能区超时

Spring boot 为每个方法设置功能区超时,spring-boot,ribbon,feign,Spring Boot,Ribbon,Feign,我将springboot与ribbon和佯装客户端一起使用 通常是你设定的 hello-service.ribbon.ReadTimeout=100 其中你好服务是 @FeignClient("hello-service") public interface Example { (...) 假设这个示例类有两个不同的方法 如何为两种方法设置不同的readTimeout? 有两个相似的假客户吗? 我可以为方法作用域设置readTimeout吗

我将springboot与ribbon和佯装客户端一起使用

通常是你设定的

hello-service.ribbon.ReadTimeout=100
其中
你好服务

@FeignClient("hello-service")
public interface Example { (...)
假设这个示例类有两个不同的方法

如何为两种方法设置不同的readTimeout? 有两个相似的假客户吗? 我可以为方法作用域设置readTimeout吗