public interface Predicate
Modifier and Type | Method and Description |
---|---|
default void |
init(CamelContext context)
Initialize the predicate with the given camel context
|
boolean |
matches(Exchange exchange)
Evaluates the predicate on the message exchange and returns true if this exchange matches the predicate
|
boolean matches(Exchange exchange)
exchange
- the message exchangedefault void init(CamelContext context)
Apache Camel