This is an automated email from the ASF dual-hosted git repository.
wenfeng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-spring.git
The following commit(s) were added to refs/heads/master by this push:
new eb75de9 Improve the comment of maxReconsumeTimes
new 6185423 Merge pull request #379 from heihaozi/maxReconsumeTimes
eb75de9 is described below
commit eb75de9a3cb47581f1016593f79be2abfe129521
Author: CharliePu <[email protected]>
AuthorDate: Tue Jun 29 11:14:20 2021 +0800
Improve the comment of maxReconsumeTimes
---
.../apache/rocketmq/spring/annotation/RocketMQMessageListener.java | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git
a/rocketmq-spring-boot/src/main/java/org/apache/rocketmq/spring/annotation/RocketMQMessageListener.java
b/rocketmq-spring-boot/src/main/java/org/apache/rocketmq/spring/annotation/RocketMQMessageListener.java
index bdf2ca0..e5f729f 100644
---
a/rocketmq-spring-boot/src/main/java/org/apache/rocketmq/spring/annotation/RocketMQMessageListener.java
+++
b/rocketmq-spring-boot/src/main/java/org/apache/rocketmq/spring/annotation/RocketMQMessageListener.java
@@ -76,7 +76,10 @@ public @interface RocketMQMessageListener {
int consumeThreadMax() default 64;
/**
- * Max re-consume times, -1 means 16 times.
+ * Max re-consume times.
+ *
+ * In concurrently mode, -1 means 16;
+ * In orderly mode, -1 means Integer.MAX_VALUE.
*/
int maxReconsumeTimes() default -1;