@Configuration @ConditionalOnBean(value=org.apache.camel.spring.boot.CamelAutoConfiguration.class) @Conditional(value=EtcdCloudAutoConfiguration.Condition.class) @AutoConfigureAfter(value=org.apache.camel.spring.boot.CamelAutoConfiguration.class) @EnableConfigurationProperties(value=org.apache.camel.model.cloud.springboot.EtcdServiceCallServiceDiscoveryConfigurationProperties.class) public class EtcdCloudAutoConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
static class |
EtcdCloudAutoConfiguration.Condition |
Constructor and Description |
---|
EtcdCloudAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.cloud.ServiceDiscovery |
configureServiceDiscoveryFactory() |
void |
postConstruct() |
@Lazy @Bean(name="etcd-service-discovery") @ConditionalOnClass(value=org.apache.camel.CamelContext.class) public org.apache.camel.cloud.ServiceDiscovery configureServiceDiscoveryFactory() throws Exception
Exception
@PostConstruct public void postConstruct()
Apache Camel