Class WebSocketConfig
java.lang.Object
net.brabenetz.app.springstompserver.config.WebSocketConfig
- All Implemented Interfaces:
org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
@Configuration
@EnableWebSocketMessageBroker
public class WebSocketConfig
extends Object
implements org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
The Websocket Stomp Configuration.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configureClientInboundChannel
(org.springframework.messaging.simp.config.ChannelRegistration registration) void
configureClientOutboundChannel
(org.springframework.messaging.simp.config.ChannelRegistration registration) void
configureMessageBroker
(org.springframework.messaging.simp.config.MessageBrokerRegistry registry) void
configureWebSocketTransport
(org.springframework.web.socket.config.annotation.WebSocketTransportRegistration registry) void
registerStompEndpoints
(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
addArgumentResolvers, addReturnValueHandlers, configureMessageConverters
-
Constructor Details
-
WebSocketConfig
public WebSocketConfig()
-
-
Method Details
-
configureMessageBroker
public void configureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry registry) - Specified by:
configureMessageBroker
in interfaceorg.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
-
registerStompEndpoints
public void registerStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry) - Specified by:
registerStompEndpoints
in interfaceorg.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
-
configureWebSocketTransport
public void configureWebSocketTransport(org.springframework.web.socket.config.annotation.WebSocketTransportRegistration registry) - Specified by:
configureWebSocketTransport
in interfaceorg.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
-
configureClientInboundChannel
public void configureClientInboundChannel(org.springframework.messaging.simp.config.ChannelRegistration registration) - Specified by:
configureClientInboundChannel
in interfaceorg.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
-
configureClientOutboundChannel
public void configureClientOutboundChannel(org.springframework.messaging.simp.config.ChannelRegistration registration) - Specified by:
configureClientOutboundChannel
in interfaceorg.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
-