A consumer that allows you to send TCP messages.
The TcpConsumerConfiguration
auto-configuration provides the following bean:
Consumer<Message<?>> tcpConsumer
You can use tcpConsumer
as a qualifier when injecting.
All configuration properties are prefixed with tcp.consumer
.
For more information on the various options available, please see TCPConsumerProperties.
See this test suite for the various ways, this consumer is used.
See this README where this consumer is used to create a Spring Cloud Stream application where it makes a TCP sink.