Class TcpSupplierConfiguration
java.lang.Object
org.springframework.cloud.fn.supplier.tcp.TcpSupplierConfiguration
@Configuration(proxyBeanMethods=false)
@EnableConfigurationProperties({TcpSupplierProperties.class,TcpConnectionFactoryProperties.class})
public class TcpSupplierConfiguration
extends Object
A source module that receives data over TCP.
- Author:
- Gary Russell, Christian Tzolov, Soby Chacko, Artem Bilan
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.integration.ip.tcp.TcpReceivingChannelAdapter
adapter
(org.springframework.integration.ip.tcp.connection.AbstractConnectionFactory connectionFactory) org.springframework.integration.ip.config.TcpConnectionFactoryFactoryBean
tcpSourceConnectionFactory
(TcpConnectionFactoryProperties tcpConnectionProperties, org.springframework.integration.ip.tcp.serializer.AbstractByteArraySerializer decoder) tcpSourceDecoder
(TcpSupplierProperties properties) tcpSupplier
(org.reactivestreams.Publisher<Message<Object>> tcpSupplierFlow, org.springframework.integration.ip.tcp.TcpReceivingChannelAdapter tcpReceivingChannelAdapter) tcpSupplierFlow
(org.springframework.integration.ip.tcp.TcpReceivingChannelAdapter adapter)
-
Constructor Details
-
TcpSupplierConfiguration
public TcpSupplierConfiguration()
-
-
Method Details
-
tcpSourceDecoder
-
tcpSourceConnectionFactory
@Bean public org.springframework.integration.ip.config.TcpConnectionFactoryFactoryBean tcpSourceConnectionFactory(TcpConnectionFactoryProperties tcpConnectionProperties, @Qualifier("tcpSourceDecoder") org.springframework.integration.ip.tcp.serializer.AbstractByteArraySerializer decoder) -
adapter
@Bean public org.springframework.integration.ip.tcp.TcpReceivingChannelAdapter adapter(@Qualifier("tcpSourceConnectionFactory") org.springframework.integration.ip.tcp.connection.AbstractConnectionFactory connectionFactory) -
tcpSupplierFlow
-
tcpSupplier
-