getErrorHandler

setMessageSizeLimit

public void setMessageSizeLimit(int messageSizeLimit)

Configure the maximum size allowed for an incoming STOMP message.
Since a STOMP message can be received in multiple WebSocket messages,
buffering may be required and therefore it is necessary to know the maximum
allowed message size.

Invoked after population of normal bean properties but before an init
callback like InitializingBean's afterPropertiesSet or a custom init-method.
Invoked before ApplicationContextAware's setApplicationContext.