@FunctionalInterface public interface ServiceChooser
ServiceDiscovery| Modifier and Type | Method and Description |
|---|---|
ServiceDefinition |
choose(List<ServiceDefinition> services)
Chooses one of the service to use
|
ServiceDefinition choose(List<ServiceDefinition> services)
services - list of servicesApache Camel