Merge branch '5.3.x'

This commit is contained in:
rstoyanchev
2022-09-12 12:27:31 +01:00
9 changed files with 138 additions and 86 deletions

View File

@@ -1347,7 +1347,7 @@ receipt if the server supports it (simple broker does not). For example, with th
headers.setDestination("/topic/...");
headers.setReceipt("r1");
FrameHandler handler = ...;
stompSession.subscribe(headers, handler).addReceiptTask(() -> {
stompSession.subscribe(headers, handler).addReceiptTask(receiptHeaders -> {
// Subscription ready...
});
----