@Configuration @EnableConfigurationProperties(value=WebsocketSupplierProperties.class) public class WebsocketSupplierConfiguration extends Object
Constructor and Description |
---|
WebsocketSupplierConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.integration.websocket.IntegrationWebSocketContainer |
serverWebSocketContainer(org.springframework.beans.factory.ObjectProvider<org.springframework.integration.websocket.ServerWebSocketContainer.SockJsServiceOptions> sockJsServiceOptions) |
org.springframework.integration.websocket.ServerWebSocketContainer.SockJsServiceOptions |
sockJsServiceOptions() |
org.reactivestreams.Publisher<org.springframework.messaging.Message<byte[]>> |
websocketPublisher(org.springframework.integration.websocket.IntegrationWebSocketContainer serverWebSocketContainer) |
Supplier<reactor.core.publisher.Flux<org.springframework.messaging.Message<?>>> |
websocketSupplier(org.reactivestreams.Publisher<org.springframework.messaging.Message<?>> websocketPublisher,
org.springframework.integration.websocket.inbound.WebSocketInboundChannelAdapter webSocketInboundChannelAdapter) |
@Bean public Supplier<reactor.core.publisher.Flux<org.springframework.messaging.Message<?>>> websocketSupplier(org.reactivestreams.Publisher<org.springframework.messaging.Message<?>> websocketPublisher, org.springframework.integration.websocket.inbound.WebSocketInboundChannelAdapter webSocketInboundChannelAdapter)
@Bean public org.reactivestreams.Publisher<org.springframework.messaging.Message<byte[]>> websocketPublisher(org.springframework.integration.websocket.IntegrationWebSocketContainer serverWebSocketContainer)
@Bean @ConditionalOnMissingBean @ConditionalOnProperty(prefix="websocket.sockJs", name="enable", havingValue="true") public org.springframework.integration.websocket.ServerWebSocketContainer.SockJsServiceOptions sockJsServiceOptions()
@Bean public org.springframework.integration.websocket.IntegrationWebSocketContainer serverWebSocketContainer(org.springframework.beans.factory.ObjectProvider<org.springframework.integration.websocket.ServerWebSocketContainer.SockJsServiceOptions> sockJsServiceOptions)
Copyright © 2021. All rights reserved.