public static final class ClusterServiceSelectors.SelectByAttribute extends Object implements CamelClusterService.Selector
Constructor and Description |
---|
SelectByAttribute(String key,
Object value) |
Modifier and Type | Method and Description |
---|---|
Optional<CamelClusterService> |
select(Collection<CamelClusterService> services)
Select a specific CamelClusterService instance among a collection.
|
public SelectByAttribute(String key, Object value)
public Optional<CamelClusterService> select(Collection<CamelClusterService> services)
CamelClusterService.Selector
select
in interface CamelClusterService.Selector
Apache Camel