@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 |
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, webSocketScopeConfigurer
brokerChannel, brokerChannelExecutor, brokerMessageConverter, brokerMessagingTemplate, clientInboundChannel, clientInboundChannelExecutor, clientOutboundChannel, clientOutboundChannelExecutor, getApplicationContext, getBrokerRegistry, getClientInboundChannelRegistration, getClientOutboundChannelRegistration, getPathMatcher, getValidator, messageBrokerTaskScheduler, setApplicationContext, simpAnnotationMethodMessageHandler, simpleBrokerMessageHandler, simpValidator, stompBrokerRelayMessageHandler, userDestinationMessageHandler, userDestinationResolver, userRegistry, userRegistryMessageHandler, userSessionRegistry
public DelegatingWebSocketMessageBrokerConfiguration()
@Autowired(required=false) public void setConfigurers(List<WebSocketMessageBrokerConfigurer> configurers)
protected void registerStompEndpoints(StompEndpointRegistry registry)
registerStompEndpoints
in class WebSocketMessageBrokerConfigurationSupport
protected void configureWebSocketTransport(WebSocketTransportRegistration registration)
configureWebSocketTransport
in class WebSocketMessageBrokerConfigurationSupport
protected void configureClientInboundChannel(org.springframework.messaging.simp.config.ChannelRegistration registration)
configureClientInboundChannel
in class org.springframework.messaging.simp.config.AbstractMessageBrokerConfiguration
protected void configureClientOutboundChannel(org.springframework.messaging.simp.config.ChannelRegistration registration)
configureClientOutboundChannel
in class org.springframework.messaging.simp.config.AbstractMessageBrokerConfiguration
protected void addArgumentResolvers(List<org.springframework.messaging.handler.invocation.HandlerMethodArgumentResolver> argumentResolvers)
addArgumentResolvers
in class org.springframework.messaging.simp.config.AbstractMessageBrokerConfiguration
protected void addReturnValueHandlers(List<org.springframework.messaging.handler.invocation.HandlerMethodReturnValueHandler> returnValueHandlers)
addReturnValueHandlers
in class org.springframework.messaging.simp.config.AbstractMessageBrokerConfiguration
protected boolean configureMessageConverters(List<org.springframework.messaging.converter.MessageConverter> messageConverters)
configureMessageConverters
in class org.springframework.messaging.simp.config.AbstractMessageBrokerConfiguration
protected void configureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry registry)
configureMessageBroker
in class org.springframework.messaging.simp.config.AbstractMessageBrokerConfiguration