@EnableBinding(value=org.springframework.cloud.stream.messaging.Source.class)
@EnableConfigurationProperties(value={TcpSourceProperties.class,TcpConnectionFactoryProperties.class})
public class TcpSourceConfiguration
extends Object
| Constructor and Description |
|---|
TcpSourceConfiguration() |
| 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 |
tcpSourceConnectionFactory(org.springframework.integration.ip.tcp.serializer.AbstractByteArraySerializer decoder) |
EncoderDecoderFactoryBean |
tcpSourceDecoder() |
@Bean
public org.springframework.integration.ip.tcp.TcpReceivingChannelAdapter adapter(@Qualifier(value="tcpSourceConnectionFactory")
org.springframework.integration.ip.tcp.connection.AbstractConnectionFactory connectionFactory)
@Bean
public org.springframework.integration.ip.config.TcpConnectionFactoryFactoryBean tcpSourceConnectionFactory(@Qualifier(value="tcpSourceDecoder")
org.springframework.integration.ip.tcp.serializer.AbstractByteArraySerializer decoder)
throws Exception
Exception@Bean public EncoderDecoderFactoryBean tcpSourceDecoder()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.