Closes gh-29354

Motivation

  • By https://github.com/spring-projects/spring-framework/issues/16152, we already added handling of fragmented STOMP frames receiving by BufferingStompDecoder like other stomp libraries (e.g. stomp-websocket.js)
  • But we not added handling of fragmented STOMP frames sending yet!
  • ref. stomp-websocket.js fragmented frames sending impl

Modification

  • Add SplittingStompEncoder to split large STOMP messages that exceeds outboundMessageSizeLimit

Result

  • Now user can send large STOMP messages as fragmented frames on WebSocketStompClient
  • Close https://github.com/spring-projects/spring-framework/issues/29354

Comment From: injae-kim

(Rebase to latest main branch to resolve conflict~!)

Comment From: injae-kim

Seems mentioned +1 on https://github.com/spring-projects/spring-framework/issues/31901 😄