Class WebsocketConfig

java.lang.Object
org.craftercms.studio.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
Spring Websocket Configuration

Note: This configuration class is required because the XML namespace doesn't allow customizations

Since:
4.0.0
Author:
joseross
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    WebsocketConfig(StudioConfiguration studioConfiguration)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    configureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry 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, configureClientInboundChannel, configureClientOutboundChannel, configureMessageConverters, configureWebSocketTransport, getPhase
  • Field Details

  • Constructor Details

  • Method Details

    • 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