@Configuration public class DelegatingWebSocketMessageBrokerConfiguration extends WebSocketMessageBrokerConfigurationSupport
WebSocketMessageBrokerConfigurationSupport extension that detects beans of type
WebSocketMessageBrokerConfigurer
and delegates to all of them allowing callback style customization of the
configuration provided in WebSocketMessageBrokerConfigurationSupport.
This class is typically imported via EnableWebSocketMessageBroker.
| Constructor and Description |
|---|
DelegatingWebSocketMessageBrokerConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureClientInboundChannel(org.springframework.messaging.simp.config.ChannelRegistration registration) |
protected void |
configureClientOutboundChannel(org.springframework.messaging.simp.config.ChannelRegistration registration) |
protected void |
configureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry registry) |
protected boolean |
configureMessageConverters(List<org.springframework.messaging.converter.MessageConverter> messageConverters) |
protected void |
configureWebSocketTransport(WebSocketTransportRegistration registration) |
protected void |
registerStompEndpoints(StompEndpointRegistry registry) |
void |
setConfigurers(List<WebSocketMessageBrokerConfigurer> configurers) |
getTransportRegistration, messageBrokerSockJsTaskScheduler, stompWebSocketHandlerMapping, subProtocolWebSocketHandlerbrokerChannel, brokerChannelExecutor, brokerMessageConverter, brokerMessagingTemplate, clientInboundChannel, clientInboundChannelExecutor, clientOutboundChannel, clientOutboundChannelExecutor, getApplicationContext, getBrokerRegistry, getClientInboundChannelRegistration, getClientOutboundChannelRegistration, getValidator, setApplicationContext, simpAnnotationMethodMessageHandler, simpleBrokerMessageHandler, simpValidator, stompBrokerRelayMessageHandler, userDestinationMessageHandler, userDestinationResolver, userSessionRegistrypublic DelegatingWebSocketMessageBrokerConfiguration()
@Autowired(required=false) public void setConfigurers(List<WebSocketMessageBrokerConfigurer> configurers)
protected void registerStompEndpoints(StompEndpointRegistry registry)
registerStompEndpoints in class WebSocketMessageBrokerConfigurationSupportprotected void configureWebSocketTransport(WebSocketTransportRegistration registration)
configureWebSocketTransport in class WebSocketMessageBrokerConfigurationSupportprotected void configureClientInboundChannel(org.springframework.messaging.simp.config.ChannelRegistration registration)
configureClientInboundChannel in class org.springframework.messaging.simp.config.AbstractMessageBrokerConfigurationprotected void configureClientOutboundChannel(org.springframework.messaging.simp.config.ChannelRegistration registration)
configureClientOutboundChannel in class org.springframework.messaging.simp.config.AbstractMessageBrokerConfigurationprotected boolean configureMessageConverters(List<org.springframework.messaging.converter.MessageConverter> messageConverters)
configureMessageConverters in class org.springframework.messaging.simp.config.AbstractMessageBrokerConfigurationprotected void configureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry registry)
configureMessageBroker in class org.springframework.messaging.simp.config.AbstractMessageBrokerConfiguration