哭泣衬衫

文章
2
资源
1
加入时间
3年0月28天

springCloud之Hystrix+OpenFeign的使用及hystrix的相关属性

Hystrix用法及注解用法一、hystrix参数使用方法注解@HystrixCommand的commandProperties配置,配置hystrix命令超时时间命令执行超时时间为1000ms和执行是不启用超时@RestControllerpublic class MovieController { @Autowired private RestTemplate restTemplate; @GetMapping("/movie/{id}") @HystrixCom