@Configuration
@AutoConfigureBefore(value=org.apache.camel.spring.boot.CamelAutoConfiguration.class)
@ConditionalOnProperty(prefix="camel.component.zookeeper.service-registry",
name="enabled")
@EnableConfigurationProperties(value=ZooKeeperServiceRegistryConfiguration.class)
public class ZooKeeperServiceRegistryAutoConfiguration
extends Object
| Constructor and Description |
|---|
ZooKeeperServiceRegistryAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.camel.component.zookeeper.cloud.ZooKeeperServiceRegistry |
zookeeperServiceRegistry(ZooKeeperServiceRegistryConfiguration configuration) |
public ZooKeeperServiceRegistryAutoConfiguration()
@Bean(name="zookeeper-service-registry") @Scope(value="singleton") public org.apache.camel.component.zookeeper.cloud.ZooKeeperServiceRegistry zookeeperServiceRegistry(ZooKeeperServiceRegistryConfiguration configuration) throws Exception
ExceptionApache Camel