GitHub user Conmi-WhiteJoker added a comment to the discussion: 
如果我想在controller中调用rocketmq发送消息,并等待消息处理完成后返回再执行下一步,有没有这个方法?

> 你这种不如吧controller改造成一个异步接口,进来发完消息,就返回accept,然后你下游处理完成后,再回调上游的一个接口来更新结果。
> 
> 如果不行,就是 @cserwen 说的,参考 https://www.cnblogs.com/yunqishequ/p/12511391.html 
> 这个看看这种用法, 这种就绑定rocketmq了。另外,我理解社区用的人也比较少。

**原来如此,我的需求原来是“Request-Reply”这种模式,感谢赐教!!
![image](https://github.com/apache/rocketmq/assets/39817817/aa3b96f9-915f-4f3c-8416-8be6ff823995)

GitHub link: 
https://github.com/apache/rocketmq/discussions/7767#discussioncomment-8206725

----
This is an automatically sent email for dev@rocketmq.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@rocketmq.apache.org

Reply via email to