Class SyslogSupplierConfiguration
java.lang.Object
org.springframework.cloud.fn.supplier.syslog.SyslogSupplierConfiguration
@Configuration
@EnableConfigurationProperties(SyslogSupplierProperties.class)
public class SyslogSupplierConfiguration
extends Object
Configuration class for SYSLOG Supplier.
- Author:
- Soby Chacko
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
protected static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.integration.syslog.MessageConverter
org.springframework.integration.channel.FluxMessageChannel
syslogSupplier
(ObjectProvider<org.springframework.integration.syslog.inbound.UdpSyslogReceivingChannelAdapter> udpAdapterProvider, 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
org.springframework.integration.syslog.inbound.UdpSyslogReceivingChannelAdapter
-
Constructor Details
-
SyslogSupplierConfiguration
public SyslogSupplierConfiguration()
-
-
Method Details
-
syslogInputChannel
-
syslogSupplier
@Bean public Supplier<reactor.core.publisher.Flux<Message<?>>> syslogSupplier(ObjectProvider<org.springframework.integration.syslog.inbound.UdpSyslogReceivingChannelAdapter> udpAdapterProvider, ObjectProvider<org.springframework.integration.syslog.inbound.TcpSyslogReceivingChannelAdapter> tcpAdapterProvider) -
udpAdapter
@Bean @ConditionalOnProperty(name="syslog.supplier.protocol", havingValue="udp") public org.springframework.integration.syslog.inbound.UdpSyslogReceivingChannelAdapter udpAdapter() -
udpBothAdapter
@Bean @ConditionalOnProperty(name="syslog.supplier.protocol", havingValue="both") public org.springframework.integration.syslog.inbound.UdpSyslogReceivingChannelAdapter udpBothAdapter() -
tcpAdapter
@Bean @ConditionalOnProperty(name="syslog.supplier.protocol", havingValue="tcp", matchIfMissing=true) public org.springframework.integration.syslog.inbound.TcpSyslogReceivingChannelAdapter tcpAdapter(@Qualifier("syslogSupplierConnectionFactory") org.springframework.integration.ip.tcp.connection.AbstractServerConnectionFactory connectionFactory) -
tcpBothAdapter
@Bean @ConditionalOnProperty(name="syslog.supplier.protocol", havingValue="both") public org.springframework.integration.syslog.inbound.TcpSyslogReceivingChannelAdapter tcpBothAdapter(@Qualifier("syslogSupplierConnectionFactory") org.springframework.integration.ip.tcp.connection.AbstractServerConnectionFactory connectionFactory) -
syslogConverter
-