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