-
Couldn't load subscription status.
- Fork 38.8k
Support sending large STOMP messages as fragmented frames on WebSocketStompClient
#31970
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support sending large STOMP messages as fragmented frames on WebSocketStompClient
#31970
Conversation
824d2d3 to
43b272c
Compare
...-messaging/src/main/java/org/springframework/messaging/simp/stomp/SplittingStompEncoder.java
Outdated
Show resolved
Hide resolved
spring-messaging/src/main/java/org/springframework/messaging/simp/stomp/StompDecoder.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall the change looks good. I think it would be good to have dedicated unit tests for SplittingStompEncoder in spring-messaging in addition to the those in spring-websocket.
...aging/src/test/java/org/springframework/messaging/simp/stomp/SplittingStompEncoderTests.java
Outdated
Show resolved
Hide resolved
…etStompClient` Closes spring-projectsgh-29354
43b272c to
05a990e
Compare
|
(Rebase to latest main branch to resolve conflict~!) |
|
Seems mentioned +1 on #31901 😄 |
Closes gh-29354
Motivation
receivingbyBufferingStompDecoderlike other stomp libraries (e.g. stomp-websocket.js)sendingyet!Modification
SplittingStompEncoderto split large STOMP messages that exceedsoutboundMessageSizeLimitResult
WebSocketStompClient