Package org.apache.camel.cloud
Interface ServiceFilter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Allows SPIs to implement custom Service Filter.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionapply
(Exchange exchange, List<ServiceDefinition> services) Chooses service candidates to use
-
Method Details
-
apply
Chooses service candidates to use- Parameters:
exchange
- for content-based filteringservices
- list of services- Returns:
- the chosen service to use.
-