@Configuration
@ConditionalOnBean(value=io.opentracing.Tracer.class)
@AutoConfigureAfter(value=io.opentracing.contrib.spring.tracer.configuration.TracerAutoConfiguration.class)
@ConditionalOnClass(value={org.springframework.messaging.support.ChannelInterceptor.class,org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurationSupport.class})
@ConditionalOnProperty(name="opentracing.spring.cloud.websocket.enabled",
havingValue="true",
matchIfMissing=true)
public class WebsocketAutoConfiguration
extends Object
| Constructor and Description |
|---|
WebsocketAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
TracingChannelInterceptor |
tracingInboundChannelInterceptor(org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurationSupport config) |
TracingChannelInterceptor |
tracingOutboundChannelInterceptor(org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurationSupport config) |
@Bean @ConditionalOnBean(value=org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurationSupport.class) public TracingChannelInterceptor tracingInboundChannelInterceptor(org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurationSupport config)
@Bean @ConditionalOnBean(value=org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurationSupport.class) public TracingChannelInterceptor tracingOutboundChannelInterceptor(org.springframework.web.socket.config.annotation.WebSocketMessageBrokerConfigurationSupport config)
Copyright © 2017–2020. All rights reserved.