小编Ank*_*kar的帖子

春天如何在@feignclient配置中设置自定义最大连接池大小

@feignclient春季如何在配置中设置自定义最大连接池大小,

@FeignClient(name = "content-cms", configuration = ContentCmsServiceFeignConfig.class)
public interface FeignService {

@RequestMapping(value = "/test/", method = RequestMethod.GET)
String getSample(@RequestParam("token") String token, @RequestParam("cid") String cid,
        @RequestParam("ratio") String ratio, @RequestParam("s") String source);

}
Run Code Online (Sandbox Code Playgroud)

java spring-cloud netflix-feign feign spring-cloud-netflix

2
推荐指数
1
解决办法
3423
查看次数