@Configuration
@EnableConfigurationProperties(value={TcpConsumerProperties.class,org.springframework.cloud.fn.common.tcp.TcpConnectionFactoryProperties.class})
public class TcpConsumerConfiguration
extends Object
| Constructor and Description |
|---|
TcpConsumerConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.cloud.fn.consumer.tcp.TcpConsumerConfiguration.TcpSendingMessageHandlerSmartLifeCycle |
handler() |
Consumer<org.springframework.messaging.Message<?>> |
tcpConsumer() |
org.springframework.integration.ip.config.TcpConnectionFactoryFactoryBean |
tcpSinkConnectionFactory(org.springframework.integration.ip.tcp.serializer.AbstractByteArraySerializer encoder,
org.springframework.integration.ip.tcp.connection.TcpMessageMapper mapper) |
EncoderDecoderFactoryBean |
tcpSinkEncoder() |
org.springframework.integration.ip.tcp.connection.TcpMessageMapper |
tcpSinkMapper() |
@Bean public Consumer<org.springframework.messaging.Message<?>> tcpConsumer()
@Bean public org.springframework.cloud.fn.consumer.tcp.TcpConsumerConfiguration.TcpSendingMessageHandlerSmartLifeCycle handler()
@Bean
public org.springframework.integration.ip.config.TcpConnectionFactoryFactoryBean tcpSinkConnectionFactory(@Qualifier(value="tcpSinkEncoder")
org.springframework.integration.ip.tcp.serializer.AbstractByteArraySerializer encoder,
@Qualifier(value="tcpSinkMapper")
org.springframework.integration.ip.tcp.connection.TcpMessageMapper mapper)
throws Exception
Exception@Bean public EncoderDecoderFactoryBean tcpSinkEncoder()
@Bean public org.springframework.integration.ip.tcp.connection.TcpMessageMapper tcpSinkMapper()
Copyright © 2021. All rights reserved.