我想同时执行3个调用,并在完成所有操作后处理结果.
我知道这可以使用AsyncRestTemplate实现,因为这里提到如何使用AsyncRestTemplate同时进行多个调用?
但是,不推荐使用AsyncRestTemplate而使用WebClient.我必须在项目中使用Spring MVC,但感兴趣的是我是否可以使用WebClient来执行同时调用.有人可以建议如何使用WebClient正确完成此操作吗?
spring spring-boot asyncresttemplate spring-webflux
asyncresttemplate ×1
spring ×1
spring-boot ×1
spring-webflux ×1