@Configuration
@EnableWebSocketMessageBroker
public class WebSocketConfiguration
extends org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurer
Constructor and Description |
---|
WebSocketConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
configureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry registry) |
void |
configureWebSocketTransport(org.springframework.web.socket.config.annotation.WebSocketTransportRegistration registration) |
void |
registerStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry) |
public void registerStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry)
public void configureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry registry)
configureMessageBroker
in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
configureMessageBroker
in class org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurer
public void configureWebSocketTransport(org.springframework.web.socket.config.annotation.WebSocketTransportRegistration registration)
configureWebSocketTransport
in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
configureWebSocketTransport
in class org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurer
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.