Skip to content

Commit

Permalink
Merge pull request #626 from RongtongJin/master-test-sample
Browse files Browse the repository at this point in the history
[ISSUE #627] Make v5 sample logs to output normally
  • Loading branch information
panzhi33 authored Feb 19, 2024
2 parents 4090c19 + 3a106b7 commit e1fe721
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions rocketmq-v5-client-spring-boot-samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<rocketmq-v5-client-spring-boot-starter-version>2.2.4-SNAPSHOT</rocketmq-v5-client-spring-boot-starter-version>
<commons-logging-version>1.3.0</commons-logging-version>
</properties>


Expand All @@ -47,6 +48,11 @@
<artifactId>rocketmq-v5-client-spring-boot-starter</artifactId>
<version>${rocketmq-v5-client-spring-boot-starter-version}</version>
</dependency>
<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>${commons-logging-version}</version>
</dependency>
</dependencies>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@ public static void main(String[] args) {

@Override
public void run(String... args) throws ClientException {
testASycSendMessage();
testAsyncSendMessage();
testSendDelayMessage();
testSendFIFOMessage();
testSendNormalMessage();
testSendTransactionMessage();
}

void testASycSendMessage() {
void testAsyncSendMessage() {

CompletableFuture<SendReceipt> future0 = new CompletableFuture<>();
CompletableFuture<SendReceipt> future1 = new CompletableFuture<>();
Expand Down

0 comments on commit e1fe721

Please sign in to comment.