You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2019/02/22 07:56:22 UTC

[GitHub] wlliqipeng commented on a change in pull request #837: [RIP-9] Add API_Reference_DefaultMQProducer.md for Java

wlliqipeng commented on a change in pull request #837: [RIP-9] Add API_Reference_DefaultMQProducer.md for Java
URL: https://github.com/apache/rocketmq/pull/837#discussion_r259241514
 
 

 ##########
 File path: docs/cn/client/java/API_Reference_DefaultMQProducer.md
 ##########
 @@ -0,0 +1,1087 @@
+## DefaultMQProducer
+---
+### 类简介
+
+`public class DefaultMQProducer 
+extends ClientConfig 
+implements MQProducer`
+
+>`DefaultMQProducer`类是应用用来投递消息的入口,开箱即用,可通过无参构造方法快速创建一个生产者。主要负责消息的发送,支持同步/异步/onway的发送方式,发送方式均支持批量发送。可以通过它提供有一系列的getter/setter方法,调整发送者的参数。`DefaultMQProducer`提供了多个send方法,每个send方法略有不同,在使用前务必详细了解其意图。下面给出一个生产者示例代码,[点击查看更多示例代码](https://github.com/apache/rocketmq/blob/master/example/src/main/java/org/apache/rocketmq/example/)。
 
 Review comment:
   oneway

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services