spring实现异步的方法

AsyncRestTemplate

参考文档: https://blog.csdn.net/jiangchao858/article/details/86709750

@Async注解

参考文档: https://spring.io/guides/gs/async-method

WebClient ( Spring 5.0引入)

参考文档: https://docs.spring.io/spring/docs/5.1.8.RELEASE/spring- framework-reference/web-reactive.html#webflux-client

MQ

猜你喜欢

转载自blog.csdn.net/cxionc123/article/details/107774158
今日推荐