@EnableBinding(value=org.springframework.cloud.stream.messaging.Sink.class) @EnableConfigurationProperties(value=TcpSinkProperties.class) public class TcpSinkConfiguration extends Object
| Constructor and Description |
|---|
TcpSinkConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.integration.ip.tcp.TcpSendingMessageHandler |
handler(org.springframework.integration.ip.tcp.connection.AbstractConnectionFactory connectionFactory) |
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
@ServiceActivator(inputChannel="input")
public org.springframework.integration.ip.tcp.TcpSendingMessageHandler handler(@Qualifier(value="tcpSinkConnectionFactory")
org.springframework.integration.ip.tcp.connection.AbstractConnectionFactory connectionFactory)
@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 © 2016 Pivotal Software, Inc.. All rights reserved.