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 Summary
ConstructorsConstructorDescriptionSplittingStompEncoder(StompEncoder encoder, int bufferSizeLimit) Create a newSplittingStompEncoder. - 
Method Summary
 
- 
Constructor Details
- 
SplittingStompEncoder
Create a newSplittingStompEncoder.- Parameters:
 encoder- theStompEncoderto usebufferSizeLimit- the buffer size limit
 
 - 
 - 
Method Details
- 
encode
Encode 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 headerspayload- the STOMP message payload- Returns:
 - the parts of the encoded STOMP message
 
 
 -