Class WebsocketConsumerConfiguration
java.lang.Object
org.springframework.cloud.fn.consumer.websocket.WebsocketConsumerConfiguration
@Configuration
@EnableConfigurationProperties(WebsocketConsumerProperties.class)
public class WebsocketConsumerConfiguration
extends Object
- Author:
- Oliver Moser, Gary Russell, Artem Bilan, Chris Bono
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
init()
websocketConsumer
(InMemoryTraceRepository websocketTraceRepository) websocketTraceEndpoint
(InMemoryTraceRepository websocketTraceRepository)
-
Constructor Details
-
WebsocketConsumerConfiguration
public WebsocketConsumerConfiguration()
-
-
Method Details
-
init
- Throws:
InterruptedException
-
websocketTraceEndpoint
@Bean @ConditionalOnProperty(value="endpoints.websocketsinktrace.enabled", havingValue="true") public WebsocketConsumerTraceEndpoint websocketTraceEndpoint(InMemoryTraceRepository websocketTraceRepository) -
websocketConsumer
@Bean public Consumer<Message<?>> websocketConsumer(InMemoryTraceRepository websocketTraceRepository)
-