@Configuration @EnableConfigurationProperties(value=WebsocketConsumerProperties.class) public class WebsocketConsumerConfiguration extends Object
Constructor and Description |
---|
WebsocketConsumerConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
init() |
Consumer<org.springframework.messaging.Message<?>> |
websocketConsumer(InMemoryTraceRepository websocketTraceRepository) |
WebsocketConsumerTraceEndpoint |
websocketTraceEndpoint(InMemoryTraceRepository websocketTraceRepository) |
@PostConstruct public void init() throws InterruptedException
InterruptedException
@Bean @ConditionalOnProperty(value="endpoints.websocketsinktrace.enabled", havingValue="true") public WebsocketConsumerTraceEndpoint websocketTraceEndpoint(InMemoryTraceRepository websocketTraceRepository)
@Bean public Consumer<org.springframework.messaging.Message<?>> websocketConsumer(InMemoryTraceRepository websocketTraceRepository)
Copyright © 2022. All rights reserved.