Class CamelCloudServiceDiscoveryAutoConfiguration

java.lang.Object
org.apache.camel.spring.boot.cloud.CamelCloudServiceDiscoveryAutoConfiguration
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware

@Configuration(proxyBeanMethods=false) @ConditionalOnBean(CamelCloudAutoConfiguration.class) @EnableConfigurationProperties(CamelCloudConfigurationProperties.class) @Conditional(Condition.class) public class CamelCloudServiceDiscoveryAutoConfiguration extends Object implements org.springframework.beans.factory.BeanFactoryAware
  • Constructor Details

    • CamelCloudServiceDiscoveryAutoConfiguration

      public CamelCloudServiceDiscoveryAutoConfiguration()
  • Method Details

    • setBeanFactory

      public void setBeanFactory(org.springframework.beans.factory.BeanFactory factory) throws org.springframework.beans.BeansException
      Specified by:
      setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
      Throws:
      org.springframework.beans.BeansException
    • staticServiceDiscovery

      @Lazy @Bean(name="static-service-discovery") public org.apache.camel.cloud.ServiceDiscovery staticServiceDiscovery()
    • serviceDiscovery

      @Lazy @Bean(name="service-discovery") public CamelCloudServiceDiscovery serviceDiscovery(List<org.apache.camel.cloud.ServiceDiscovery> serviceDiscoveryList) throws org.apache.camel.NoTypeConversionAvailableException
      Throws:
      org.apache.camel.NoTypeConversionAvailableException
    • addServiceDiscoveryConfigurations

      @PostConstruct public void addServiceDiscoveryConfigurations()