@Configuration(proxyBeanMethods=false) 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 |
addArgumentResolvers(List<org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver> argumentResolvers) |
protected void |
addReturnValueHandlers(List<org.springframework.messaging.handler.invocation.HandlerMethodReturnValueHandler> returnValueHandlers) |
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) |
createAnnotationMethodMessageHandler, createJacksonConverter, createLocalUserRegistry, decorateWebSocketHandler, getTransportRegistration, stompWebSocketHandlerMapping, subProtocolWebSocketHandler, webSocketMessageBrokerStats, webSocketScopeConfigurerbrokerChannel, brokerChannelExecutor, brokerMessageConverter, brokerMessagingTemplate, clientInboundChannel, clientInboundChannelExecutor, clientOutboundChannel, clientOutboundChannelExecutor, createLocalUserRegistry, getApplicationContext, getBrokerRegistry, getClientInboundChannelRegistration, getClientOutboundChannelRegistration, getPathMatcher, getValidator, messageBrokerTaskScheduler, setApplicationContext, simpAnnotationMethodMessageHandler, simpleBrokerMessageHandler, simpValidator, stompBrokerRelayMessageHandler, userDestinationMessageHandler, userDestinationResolver, userRegistry, userRegistryMessageHandlerpublic 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 void addArgumentResolvers(List<org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver> argumentResolvers)
addArgumentResolvers in class org.springframework.messaging.simp.config.AbstractMessageBrokerConfigurationprotected void addReturnValueHandlers(List<org.springframework.messaging.handler.invocation.HandlerMethodReturnValueHandler> returnValueHandlers)
addReturnValueHandlers 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