本文介紹Apache RocketMQ C++ SDK的訊息收發範例程式碼。訊息類型發送訊息範例程式碼訂閱訊息範例程式碼PushConsumerSimpleConsumer普通訊息同步發送:ExampleProducer.cpp非同步發送:ExampleProducerWithAsync.cppExamplePushConsumer.cppExampleSimpleConsumer.cpp順序訊息ExampleProducerWithFifoMessage.cpp定時/延時訊息ExampleProducerWithTimedMessage.cpp事務訊息ExampleProducerWithTransactionalMessage.cpp相關文檔版本說明環境準備