public interface WebSocketMessageBrokerConfigurer
@EnableWebSocketMessageBroker.| Modifier and Type | Method and Description |
|---|---|
void |
configureClientInboundChannel(org.springframework.messaging.simp.config.ChannelRegistration registration)
Configure the
MessageChannel used for
incoming messages from WebSocket clients. |
void |
configureClientOutboundChannel(org.springframework.messaging.simp.config.ChannelRegistration registration)
Configure the
MessageChannel used for
incoming messages from WebSocket clients. |
void |
configureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry registry)
Configure message broker options.
|
void |
registerStompEndpoints(StompEndpointRegistry registry)
Configure STOMP over WebSocket endpoints.
|
void registerStompEndpoints(StompEndpointRegistry registry)
void configureClientInboundChannel(org.springframework.messaging.simp.config.ChannelRegistration registration)
MessageChannel used for
incoming messages from WebSocket clients. By default the channel is backed
by a thread pool of size 1. It is recommended to customize thread pool
settings for production use.void configureClientOutboundChannel(org.springframework.messaging.simp.config.ChannelRegistration registration)
MessageChannel used for
incoming messages from WebSocket clients. By default the channel is backed
by a thread pool of size 1. It is recommended to customize thread pool
settings for production use.void configureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry registry)