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