You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by aa...@apache.org on 2022/06/23 09:12:52 UTC
[rocketmq-clients] branch master updated: Java: fix typo in README.md
This is an automated email from the ASF dual-hosted git repository.
aaronai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-clients.git
The following commit(s) were added to refs/heads/master by this push:
new 7badf04 Java: fix typo in README.md
7badf04 is described below
commit 7badf046831b51282a74fa552075db1658456567
Author: Aaron Ai <ya...@gmail.com>
AuthorDate: Thu Jun 23 17:12:46 2022 +0800
Java: fix typo in README.md
---
java/README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/README.md b/java/README.md
index 57f5865..ea54b9a 100644
--- a/java/README.md
+++ b/java/README.md
@@ -76,7 +76,7 @@ PushConsumer pushConsumer = provider.newPushConsumerBuilder()
.setSubscriptionExpressions(Collections.singletonMap(topic, filterExpression))
.setMessageListener(messageView -> {
// Handle the received message and return the consume result.
- return ConsumeResult.OK;
+ return ConsumeResult.SUCCESS;
})
.build();
// Close it when you don't need the consumer any more.