Rocketmq 消息的同步發送,異步發送,oneway方式

1.同步發送 ,須要同時等待html SendResult sendResult = payProducer.getProducer().send(message); 有返回值異步 2.異步發送,異步線程發送出去消息,速度快ide sendCallback()線程 payProducer.getProducer().send(message, new SendCallback() {
相關文章
相關標籤/搜索