Skip to content

Commit

Permalink
1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
noear committed Feb 27, 2024
1 parent 0942430 commit 69ef899
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion folkmq-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<java.version>1.8</java.version>

<folkmq.version>1.2.2</folkmq.version>
<socketd.version>2.4.3</socketd.version>
<socketd.version>2.4.4</socketd.version>
<snack3.version>3.2.88</snack3.version>
<solon.version>2.7.1</solon.version>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,9 @@ public CompletableFuture<Boolean> publishAsync(String topic, MqMessage message)
String messsage = "Client message publish confirm failed: " + r.dataAsString();
future.completeExceptionally(new FolkmqException(messsage));
}
}).thenError(err -> {
String messsage = "Client message publish confirm failed: " + err.getMessage();
future.completeExceptionally(new FolkmqException(messsage));
});
} else {
//::Qos0
Expand Down Expand Up @@ -417,6 +420,9 @@ public CompletableFuture<Boolean> unpublishAsync(String topic, String tid) throw
String messsage = "Client message unpublish confirm failed: " + r.dataAsString();
future.completeExceptionally(new FolkmqException(messsage));
}
}).thenError(err -> {
String messsage = "Client message unpublish confirm failed: " + err.getMessage();
future.completeExceptionally(new FolkmqException(messsage));
});

return future;
Expand Down

0 comments on commit 69ef899

Please sign in to comment.