public class EtcdOnDemandServiceDiscovery
extends org.apache.camel.impl.cloud.DefaultServiceDiscovery
Constructor and Description |
---|
EtcdOnDemandServiceDiscovery(EtcdConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
protected void |
doStart() |
protected void |
doStop() |
protected mousio.etcd4j.EtcdClient |
getClient() |
protected EtcdConfiguration |
getConfiguration() |
protected List<org.apache.camel.cloud.ServiceDefinition> |
getServices() |
protected List<org.apache.camel.cloud.ServiceDefinition> |
getServices(Predicate<EtcdServiceDefinition> filter) |
List<org.apache.camel.cloud.ServiceDefinition> |
getServices(String name) |
protected EtcdServiceDefinition |
nodeFromString(String value) |
getCamelContext, setCamelContext
public EtcdOnDemandServiceDiscovery(EtcdConfiguration configuration) throws Exception
Exception
public List<org.apache.camel.cloud.ServiceDefinition> getServices(String name)
getServices
in interface org.apache.camel.cloud.ServiceDiscovery
getServices
in class org.apache.camel.impl.cloud.DefaultServiceDiscovery
protected void doStart() throws Exception
doStart
in class org.apache.camel.impl.cloud.DefaultServiceDiscovery
Exception
protected void doStop() throws Exception
doStop
in class org.apache.camel.impl.cloud.DefaultServiceDiscovery
Exception
protected EtcdConfiguration getConfiguration()
protected mousio.etcd4j.EtcdClient getClient()
protected EtcdServiceDefinition nodeFromString(String value)
protected List<org.apache.camel.cloud.ServiceDefinition> getServices()
protected List<org.apache.camel.cloud.ServiceDefinition> getServices(Predicate<EtcdServiceDefinition> filter)
Apache Camel