@Configuration @EnableWebSocketMessageBroker @ComponentScan(basePackageClasses=HeartbeatController.class) @Import(value={RootStompConfig.class,GuiceBeansConfig.class}) public class AgentStompConfig extends org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurer
| Constructor and Description |
|---|
AgentStompConfig(javax.servlet.ServletContext servletContext,
com.google.inject.Injector injector) |
| Modifier and Type | Method and Description |
|---|---|
void |
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 registration) |
org.springframework.web.socket.server.support.DefaultHandshakeHandler |
getHandshakeHandler() |
void |
registerStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry) |
STOMPUpdateListener |
requestSTOMPListener(com.google.inject.Injector injector) |
public AgentStompConfig(javax.servlet.ServletContext servletContext,
com.google.inject.Injector injector)
@Bean public STOMPUpdateListener requestSTOMPListener(com.google.inject.Injector injector)
public org.springframework.web.socket.server.support.DefaultHandshakeHandler getHandshakeHandler()
public void registerStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry)
public void configureClientInboundChannel(org.springframework.messaging.simp.config.ChannelRegistration registration)
configureClientInboundChannel in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurerconfigureClientInboundChannel in class org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurerpublic void configureClientOutboundChannel(org.springframework.messaging.simp.config.ChannelRegistration registration)
configureClientOutboundChannel in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurerconfigureClientOutboundChannel in class org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurerpublic void configureWebSocketTransport(org.springframework.web.socket.config.annotation.WebSocketTransportRegistration registration)
configureWebSocketTransport in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurerconfigureWebSocketTransport in class org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurerpublic void configureMessageBroker(org.springframework.messaging.simp.config.MessageBrokerRegistry registry)
configureMessageBroker in interface org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurerconfigureMessageBroker in class org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurerCopyright © 2022 Apache Software Foundation. All rights reserved.