Class SplittingStompEncoder
java.lang.Object
org.springframework.messaging.simp.stomp.SplittingStompEncoder
Uses a 
StompEncoder to encode a message and splits it into parts no
 larger than the configured
 buffer size limit.- Since:
- 6.2
- Author:
- Injae Kim, Rossen Stoyanchev
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionSplittingStompEncoder(StompEncoder encoder, int bufferSizeLimit) Create a newSplittingStompEncoder.
- 
Method Summary
- 
Constructor Details- 
SplittingStompEncoderCreate a newSplittingStompEncoder.- Parameters:
- encoder- the- StompEncoderto use
- bufferSizeLimit- the buffer size limit
 
 
- 
- 
Method Details- 
encodeEncode the given payload and headers to a STOMP frame, and split it into a list of parts based on the configured buffer size limit.- Parameters:
- headers- the STOMP message headers
- payload- the STOMP message payload
- Returns:
- the parts of the encoded STOMP message
 
 
-