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

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

Introduction

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

Prototype

@Override
    public void setOutputChannel(MessageChannel outputChannel) 

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;
}