Class WebSocketConfig
- java.lang.Object
-
- org.optaweb.vehiclerouting.plugin.websocket.WebSocketConfig
-
- All Implemented Interfaces:
org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
@Configuration @EnableWebSocketMessageBroker class WebSocketConfig extends Object implements org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
Configures STOMP over WebSocket.
-
-
Constructor Summary
Constructors Constructor Description WebSocketConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry registry)voidconfigureWebSocketTransport(org.springframework.web.socket.config.annotation.WebSocketTransportRegistration registry)voidregisterStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry)
-
-
-
Method Detail
-
registerStompEndpoints
public void registerStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry)
- Specified by:
registerStompEndpointsin interfaceorg.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
-
configureMessageBroker
public void configureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry registry)
- Specified by:
configureMessageBrokerin interfaceorg.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
-
configureWebSocketTransport
public void configureWebSocketTransport(org.springframework.web.socket.config.annotation.WebSocketTransportRegistration registry)
- Specified by:
configureWebSocketTransportin interfaceorg.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
-
-