@EnableBinding(value=org.springframework.cloud.stream.messaging.Source.class) @EnableConfigurationProperties(value={TcpClientSourceProperties.class,TcpConnectionFactoryProperties.class}) public class TcpClientSourceConfiguration extends Object
Constructor and Description |
---|
TcpClientSourceConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.integration.ip.tcp.TcpReceivingChannelAdapter |
adapter(org.springframework.integration.ip.tcp.connection.AbstractConnectionFactory connectionFactory) |
org.springframework.integration.ip.config.TcpConnectionFactoryFactoryBean |
tcpClientConnectionFactory(org.springframework.integration.ip.tcp.connection.TcpMessageMapper mapper,
org.springframework.integration.ip.tcp.serializer.AbstractByteArraySerializer decoder) |
EncoderDecoderFactoryBean |
tcpClientDecoder() |
org.springframework.integration.ip.tcp.connection.TcpMessageMapper |
tcpClientMapper() |
@Bean public org.springframework.integration.ip.tcp.TcpReceivingChannelAdapter adapter(@Qualifier(value="tcpClientConnectionFactory") org.springframework.integration.ip.tcp.connection.AbstractConnectionFactory connectionFactory)
@Bean public org.springframework.integration.ip.config.TcpConnectionFactoryFactoryBean tcpClientConnectionFactory(@Qualifier(value="tcpClientMapper") org.springframework.integration.ip.tcp.connection.TcpMessageMapper mapper, @Qualifier(value="tcpClientDecoder") org.springframework.integration.ip.tcp.serializer.AbstractByteArraySerializer decoder) throws Exception
Exception
@Bean public org.springframework.integration.ip.tcp.connection.TcpMessageMapper tcpClientMapper()
@Bean public EncoderDecoderFactoryBean tcpClientDecoder()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.