@EnableBinding(value=org.springframework.cloud.stream.messaging.Source.class) @EnableConfigurationProperties(value=SyslogSourceProperties.class) public class SyslogSourceConfiguration extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
SyslogSourceConfiguration.BothBits |
protected static class |
SyslogSourceConfiguration.TcpBits |
| Constructor and Description |
|---|
SyslogSourceConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.integration.syslog.MessageConverter |
syslogConverter() |
org.springframework.integration.syslog.inbound.TcpSyslogReceivingChannelAdapter |
tcpAdapter(org.springframework.integration.ip.tcp.connection.AbstractServerConnectionFactory connectionFactory) |
org.springframework.integration.syslog.inbound.TcpSyslogReceivingChannelAdapter |
tcpBothAdapter(org.springframework.integration.ip.tcp.connection.AbstractServerConnectionFactory connectionFactory) |
org.springframework.integration.syslog.inbound.UdpSyslogReceivingChannelAdapter |
udpAdapter() |
org.springframework.integration.syslog.inbound.UdpSyslogReceivingChannelAdapter |
udpBothAdapter() |
@Bean
@ConditionalOnProperty(name="syslog.protocol",
havingValue="udp")
public org.springframework.integration.syslog.inbound.UdpSyslogReceivingChannelAdapter udpAdapter()
@Bean
@ConditionalOnProperty(name="syslog.protocol",
havingValue="both")
public org.springframework.integration.syslog.inbound.UdpSyslogReceivingChannelAdapter udpBothAdapter()
@Bean
@ConditionalOnProperty(name="syslog.protocol",
havingValue="tcp",
matchIfMissing=true)
public org.springframework.integration.syslog.inbound.TcpSyslogReceivingChannelAdapter tcpAdapter(@Qualifier(value="syslogSourceConnectionFactory")
org.springframework.integration.ip.tcp.connection.AbstractServerConnectionFactory connectionFactory)
@Bean
@ConditionalOnProperty(name="syslog.protocol",
havingValue="both")
public org.springframework.integration.syslog.inbound.TcpSyslogReceivingChannelAdapter tcpBothAdapter(@Qualifier(value="syslogSourceConnectionFactory")
org.springframework.integration.ip.tcp.connection.AbstractServerConnectionFactory connectionFactory)
@Bean public org.springframework.integration.syslog.MessageConverter syslogConverter()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.