Class GraphQLWebSocketMessageBrokerAutoConfiguration.DefaultGraphQLWebSocketMessageBrokerConfiguration

java.lang.Object
org.springframework.messaging.simp.config.AbstractMessageBrokerConfiguration
org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurationSupport
org.springframework.web.socket.config.annotation.DelegatingWebSocketMessageBrokerConfiguration
org.activiti.cloud.services.notifications.graphql.ws.config.GraphQLWebSocketMessageBrokerAutoConfiguration.DefaultGraphQLWebSocketMessageBrokerConfiguration
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware
Enclosing class:
GraphQLWebSocketMessageBrokerAutoConfiguration

@EnableWebSocket @Configuration public static class GraphQLWebSocketMessageBrokerAutoConfiguration.DefaultGraphQLWebSocketMessageBrokerConfiguration extends org.springframework.web.socket.config.annotation.DelegatingWebSocketMessageBrokerConfiguration
  • Constructor Summary

    Constructors
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    configureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry registry)
    A hook for subclasses to customize message broker configuration through the provided MessageBrokerRegistry instance.
    org.springframework.web.socket.server.standard.ServletServerContainerFactoryBean
     
    org.springframework.messaging.MessageHandler
    graphQLBrokerMessageHandler(org.springframework.messaging.SubscribableChannel clientInboundChannel, org.springframework.messaging.MessageChannel clientOutboundChannel, org.springframework.messaging.SubscribableChannel brokerChannel, org.springframework.scheduling.TaskScheduler messageBrokerTaskScheduler, GraphQLSubscriptionExecutor graphQLSubscriptionExecutor)
     
     
    graphQLSubscriptionExecutor(graphql.schema.GraphQLSchema graphQLSchema)
     
    void
    registerStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry)
     
    org.springframework.web.socket.WebSocketHandler
    subProtocolWebSocketHandler(org.springframework.messaging.support.AbstractSubscribableChannel clientInboundChannel, org.springframework.messaging.support.AbstractSubscribableChannel clientOutboundChannel)
     

    Methods inherited from class org.springframework.web.socket.config.annotation.DelegatingWebSocketMessageBrokerConfiguration

    addArgumentResolvers, addReturnValueHandlers, configureClientInboundChannel, configureClientOutboundChannel, configureMessageConverters, configureWebSocketTransport, initPhase, setConfigurers

    Methods inherited from class org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurationSupport

    createAnnotationMethodMessageHandler, createJacksonConverter, createLocalUserRegistry, decorateWebSocketHandler, getTransportRegistration, stompWebSocketHandlerMapping, webSocketMessageBrokerStats, webSocketScopeConfigurer

    Methods inherited from class org.springframework.messaging.simp.config.AbstractMessageBrokerConfiguration

    brokerChannel, brokerChannelExecutor, brokerMessageConverter, brokerMessagingTemplate, clientInboundChannel, clientInboundChannelExecutor, clientOutboundChannel, clientOutboundChannelExecutor, getApplicationContext, getBrokerRegistry, getClientInboundChannelRegistration, getClientOutboundChannelRegistration, getPathMatcher, getPhase, getValidator, messageBrokerTaskScheduler, setApplicationContext, simpAnnotationMethodMessageHandler, simpleBrokerMessageHandler, simpValidator, stompBrokerRelayMessageHandler, userDestinationMessageHandler, userDestinationResolver, userRegistry, userRegistryMessageHandler

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • configureMessageBroker

      public void configureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry registry)
      A hook for subclasses to customize message broker configuration through the provided MessageBrokerRegistry instance.
      Overrides:
      configureMessageBroker in class org.springframework.web.socket.config.annotation.DelegatingWebSocketMessageBrokerConfiguration
    • registerStompEndpoints

      public void registerStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry)
      Overrides:
      registerStompEndpoints in class org.springframework.web.socket.config.annotation.DelegatingWebSocketMessageBrokerConfiguration
    • graphQLBrokerMessageHandler

      @Bean @ConditionalOnMissingBean(GraphQLBrokerMessageHandler.class) public org.springframework.messaging.MessageHandler graphQLBrokerMessageHandler(org.springframework.messaging.SubscribableChannel clientInboundChannel, org.springframework.messaging.MessageChannel clientOutboundChannel, org.springframework.messaging.SubscribableChannel brokerChannel, org.springframework.scheduling.TaskScheduler messageBrokerTaskScheduler, GraphQLSubscriptionExecutor graphQLSubscriptionExecutor)
    • subProtocolWebSocketHandler

      @Bean @ConditionalOnMissingBean(org.springframework.web.socket.messaging.SubProtocolWebSocketHandler.class) public org.springframework.web.socket.WebSocketHandler subProtocolWebSocketHandler(org.springframework.messaging.support.AbstractSubscribableChannel clientInboundChannel, org.springframework.messaging.support.AbstractSubscribableChannel clientOutboundChannel)
      Overrides:
      subProtocolWebSocketHandler in class org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurationSupport
    • graphQLBrokerSubProtocolHandler

      @Bean @ConditionalOnMissingBean public GraphQLBrokerSubProtocolHandler graphQLBrokerSubProtocolHandler()
    • graphQLSubscriptionExecutor

      @Bean @ConditionalOnMissingBean public GraphQLSubscriptionExecutor graphQLSubscriptionExecutor(graphql.schema.GraphQLSchema graphQLSchema)
    • createWebSocketContainer

      @Bean public org.springframework.web.socket.server.standard.ServletServerContainerFactoryBean createWebSocketContainer()