mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-26 17:09:05 +00:00
Pass headers to STOMP receipt callbacks
See gh-28715
This commit is contained in:
@@ -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...
|
||||
});
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user