Refactor AbstractListenerWebSocketSession
- Added suspended flag to indicate whether the ReceivePublisher is able to process the incoming messages. - Use buffer strategy for the incoming messages. Issue: SPR-14527
This commit is contained in:
committed by
Rossen Stoyanchev
parent
9d03b77cdc
commit
08edec006b
@@ -61,8 +61,7 @@ public class BasicWebSocketHandlerIntegrationTests extends AbstractWebSocketHand
|
||||
.flatMap(WebSocketResponse::getWebSocketConnection)
|
||||
.flatMap(conn -> conn.write(messages
|
||||
.map(TextWebSocketFrame::new)
|
||||
.cast(WebSocketFrame.class)
|
||||
.concatWith(Observable.just(new CloseWebSocketFrame())))
|
||||
.cast(WebSocketFrame.class))
|
||||
.cast(WebSocketFrame.class)
|
||||
.mergeWith(conn.getInput())
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user