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

    Nested Classes
    Modifier and Type
    Class
    Description
    protected static class 
     
    protected static class 
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.integration.syslog.MessageConverter
     
    org.springframework.integration.channel.FluxMessageChannel
     
    Supplier<reactor.core.publisher.Flux<Message<?>>>
    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
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SyslogSupplierConfiguration

      public SyslogSupplierConfiguration()
  • Method Details

    • syslogInputChannel

      @Bean public org.springframework.integration.channel.FluxMessageChannel 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

      @Bean public org.springframework.integration.syslog.MessageConverter syslogConverter()