public class RandomServiceChooser extends Object implements ServiceChooser
| Constructor and Description |
|---|
RandomServiceChooser() |
| Modifier and Type | Method and Description |
|---|---|
ServiceDefinition |
choose(List<ServiceDefinition> definitions)
Chooses one of the service to use
|
String |
toString() |
public RandomServiceChooser()
public ServiceDefinition choose(List<ServiceDefinition> definitions)
ServiceChooserchoose in interface ServiceChooserdefinitions - list of servicesApache Camel