public class KubernetesDnsSrvServiceDiscovery extends KubernetesServiceDiscovery
Constructor and Description |
---|
KubernetesDnsSrvServiceDiscovery(KubernetesConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
protected String |
computeQueryString(String serviceName)
Compute the query string to lookup SRV records.
|
List<org.apache.camel.cloud.ServiceDefinition> |
getServices(String name) |
String |
toString() |
getConfiguration
doStart, doStop, getCamelContext, setCamelContext
public KubernetesDnsSrvServiceDiscovery(KubernetesConfiguration configuration)
protected String computeQueryString(String serviceName)
serviceName
- the service namepublic 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
Apache Camel