Skip to content

Commit e1fe721

Browse files
authored
Merge pull request #626 from RongtongJin/master-test-sample
[ISSUE #627] Make v5 sample logs to output normally
2 parents 4090c19 + 3a106b7 commit e1fe721

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

rocketmq-v5-client-spring-boot-samples/pom.xml

+6
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
<maven.compiler.source>1.8</maven.compiler.source>
3939
<maven.compiler.target>1.8</maven.compiler.target>
4040
<rocketmq-v5-client-spring-boot-starter-version>2.2.4-SNAPSHOT</rocketmq-v5-client-spring-boot-starter-version>
41+
<commons-logging-version>1.3.0</commons-logging-version>
4142
</properties>
4243

4344

@@ -47,6 +48,11 @@
4748
<artifactId>rocketmq-v5-client-spring-boot-starter</artifactId>
4849
<version>${rocketmq-v5-client-spring-boot-starter-version}</version>
4950
</dependency>
51+
<dependency>
52+
<groupId>commons-logging</groupId>
53+
<artifactId>commons-logging</artifactId>
54+
<version>${commons-logging-version}</version>
55+
</dependency>
5056
</dependencies>
5157

5258
<build>

rocketmq-v5-client-spring-boot-samples/rocketmq-v5-client-producer-demo/src/main/java/org/apache/rocketmq/samples/springboot/ClientProducerApplication.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,14 @@ public static void main(String[] args) {
7373

7474
@Override
7575
public void run(String... args) throws ClientException {
76-
testASycSendMessage();
76+
testAsyncSendMessage();
7777
testSendDelayMessage();
7878
testSendFIFOMessage();
7979
testSendNormalMessage();
8080
testSendTransactionMessage();
8181
}
8282

83-
void testASycSendMessage() {
83+
void testAsyncSendMessage() {
8484

8585
CompletableFuture<SendReceipt> future0 = new CompletableFuture<>();
8686
CompletableFuture<SendReceipt> future1 = new CompletableFuture<>();

0 commit comments

Comments
 (0)