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

@@ -325,7 +325,7 @@ to serialize only a subset of the object properties, as the following example sh
----
[[rest-template-multipart]]
===== Multipart
==== Multipart
To send multipart data, you need to provide a `MultiValueMap<String, Object>` whose values
may be an `Object` for part content, a `Resource` for a file part, or an `HttpEntity` for

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...
});
----