@Configuration @EnableConfigurationProperties(value=SyslogSupplierProperties.class) public class SyslogSupplierConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
SyslogSupplierConfiguration.BothBits |
protected static class |
SyslogSupplierConfiguration.TcpBits |
Constructor and Description |
---|
SyslogSupplierConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.integration.syslog.MessageConverter |
syslogConverter() |
org.springframework.integration.channel.FluxMessageChannel |
syslogInputChannel() |
Supplier<reactor.core.publisher.Flux<org.springframework.messaging.Message<?>>> |
syslogSupplier(org.springframework.beans.factory.ObjectProvider<org.springframework.integration.syslog.inbound.UdpSyslogReceivingChannelAdapter> udpAdapterProvider,
org.springframework.beans.factory.ObjectProvider<org.springframework.integration.syslog.inbound.TcpSyslogReceivingChannelAdapter> tcpAdapterProvider) |
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 public org.springframework.integration.channel.FluxMessageChannel syslogInputChannel()
@Bean public Supplier<reactor.core.publisher.Flux<org.springframework.messaging.Message<?>>> syslogSupplier(org.springframework.beans.factory.ObjectProvider<org.springframework.integration.syslog.inbound.UdpSyslogReceivingChannelAdapter> udpAdapterProvider, org.springframework.beans.factory.ObjectProvider<org.springframework.integration.syslog.inbound.TcpSyslogReceivingChannelAdapter> tcpAdapterProvider)
@Bean @ConditionalOnProperty(name="syslog.supplier.protocol", havingValue="udp") public org.springframework.integration.syslog.inbound.UdpSyslogReceivingChannelAdapter udpAdapter()
@Bean @ConditionalOnProperty(name="syslog.supplier.protocol", havingValue="both") public org.springframework.integration.syslog.inbound.UdpSyslogReceivingChannelAdapter udpBothAdapter()
@Bean @ConditionalOnProperty(name="syslog.supplier.protocol", havingValue="tcp", matchIfMissing=true) public org.springframework.integration.syslog.inbound.TcpSyslogReceivingChannelAdapter tcpAdapter(@Qualifier(value="syslogSupplierConnectionFactory") org.springframework.integration.ip.tcp.connection.AbstractServerConnectionFactory connectionFactory)
@Bean @ConditionalOnProperty(name="syslog.supplier.protocol", havingValue="both") public org.springframework.integration.syslog.inbound.TcpSyslogReceivingChannelAdapter tcpBothAdapter(@Qualifier(value="syslogSupplierConnectionFactory") org.springframework.integration.ip.tcp.connection.AbstractServerConnectionFactory connectionFactory)
@Bean public org.springframework.integration.syslog.MessageConverter syslogConverter()
Copyright © 2022. All rights reserved.