Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 995 Bytes

File metadata and controls

25 lines (13 loc) · 995 Bytes

Websocket Consumer

A consumer that allows you to send messages using websocket.

Beans for injection

You can import WebsocketConsumerConfiguration in the application and then inject the following bean.

Consumer<Message<?>> websocketConsumer

You can use websocketConsumer as a qualifier when injecting.

Configuration Options

All configuration properties are prefixed with websocket.consumer.

For more information on the various options available, please see WebsocketConsumerProperties.

Tests

See this test suite for the various ways, this consumer is used.

Other usage

See this README where this consumer is used to create a Spring Cloud Stream application where it makes a TCP sink.