Example usage for org.springframework.integration.websocket.inbound WebSocketInboundChannelAdapter WebSocketInboundChannelAdapter

List of usage examples for org.springframework.integration.websocket.inbound WebSocketInboundChannelAdapter WebSocketInboundChannelAdapter

Introduction

In this page you can find the example usage for org.springframework.integration.websocket.inbound WebSocketInboundChannelAdapter WebSocketInboundChannelAdapter.

Prototype

public WebSocketInboundChannelAdapter(IntegrationWebSocketContainer webSocketContainer) 

Source Link

Usage

From source file:com.nayidisha.slowglow.config.SpringMessagingConfig.java

@Bean
public MessageProducer webSocketInboundChannelAdapter() {
    WebSocketInboundChannelAdapter webSocketInboundChannelAdapter = new WebSocketInboundChannelAdapter(
            serverWebSocketContainer());
    webSocketInboundChannelAdapter.setOutputChannel(webSocketInputChannel());
    return webSocketInboundChannelAdapter;
}