@Configuration
@ConditionalOnClass(value=org.springframework.web.socket.config.annotation.DelegatingWebSocketMessageBrokerConfiguration.class)
@ConditionalOnBean(value=brave.Tracing.class)
@ConditionalOnProperty(value="spring.sleuth.integration.websockets.enabled",
matchIfMissing=true)
public class TraceWebSocketAutoConfiguration
extends org.springframework.web.socket.config.annotation.AbstractWebSocketMessageBrokerConfigurer
Auto-configuration that enables tracing for WebSockets.AbstractWebSocketMessageBrokerConfigurer| Constructor and Description |
|---|
TraceWebSocketAutoConfiguration() |
| 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 |
registerStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry) |
public void registerStompEndpoints(org.springframework.web.socket.config.annotation.StompEndpointRegistry registry)
public 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.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 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.AbstractWebSocketMessageBrokerConfigurerCopyright © 2018 Pivotal Software, Inc.. All rights reserved.