You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by di...@apache.org on 2019/02/25 07:23:17 UTC
[rocketmq] branch develop updated: [RIP-9] Change the Chinese
punctuation in Example_Delay.md to English punctuation (#878)
This is an automated email from the ASF dual-hosted git repository.
dinglei pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git
The following commit(s) were added to refs/heads/develop by this push:
new cfceb1f [RIP-9] Change the Chinese punctuation in Example_Delay.md to English punctuation (#878)
cfceb1f is described below
commit cfceb1fd4b083577ba47c3bf475d15d16adb4fb2
Author: 赖晓星 <35...@users.noreply.github.com>
AuthorDate: Mon Feb 25 15:23:13 2019 +0800
[RIP-9] Change the Chinese punctuation in Example_Delay.md to English punctuation (#878)
[RIP-9] Change the Chinese punctuation in Example_Delay.md to English punctuation
---
docs/en/Example_Delay.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/docs/en/Example_Delay.md b/docs/en/Example_Delay.md
index d59c2c5..8078525 100644
--- a/docs/en/Example_Delay.md
+++ b/docs/en/Example_Delay.md
@@ -1,6 +1,6 @@
# Schedule example
-### 1、Start consumer to wait for incoming subscribed messages
+### 1.Start consumer to wait for incoming subscribed messages
```java
import org.apache.rocketmq.client.consumer.DefaultMQPushConsumer;
@@ -35,7 +35,7 @@ public class ScheduledMessageConsumer {
}
```
-### 2、Send scheduled messages
+### 2.Send scheduled messages
```java
import org.apache.rocketmq.client.producer.DefaultMQProducer;
@@ -64,15 +64,15 @@ public class ScheduledMessageProducer {
}
```
-### 3、Verification
+### 3.Verification
You should see messages are consumed about 10 seconds later than their storing time.
-### 4、Use scenarios for scheduled messages
+### 4.Use scenarios for scheduled messages
For example, in e-commerce, if an order is submitted, a delay message can be sent, and the status of the order can be checked after 1 hour. If the order is still unpaid, the order can be cancelled and the inventory released.
-### 5、Restrictions on the use of scheduled messages
+### 5.Restrictions on the use of scheduled messages
```java
// org/apache/rocketmq/store/config/MessageStoreConfig.java