Class 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
    Spring Websocket Configuration
    Since:
    4.0.0
    Author:
    joseross
    • Constructor Detail

      • WebsocketConfig

        @Autowired
        public WebsocketConfig​(StudioConfiguration studioConfiguration)
    • Method Detail

      • registerStompEndpoints

        public void registerStompEndpoints​(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry)
        Specified by:
        registerStompEndpoints in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer
      • configureMessageBroker

        public void configureMessageBroker​(org.springframework.messaging.simp.config.MessageBrokerRegistry registry)
        Specified by:
        configureMessageBroker in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurer