Rocketmq 消息的同步发送,异步发送,oneway方式

1.同步发送 ,须要同时等待html SendResult sendResult = payProducer.getProducer().send(message); 有返回值异步 2.异步发送,异步线程发送出去消息,速度快ide sendCallback()线程 payProducer.getProducer().send(message, new SendCallback() {
相关文章
相关标签/搜索