Constructor and Description |
---|
ExpressionToPredicateAdapter(Expression expression) |
Modifier and Type | Method and Description |
---|---|
boolean |
matches(Exchange exchange)
Evaluates the predicate on the message exchange and returns true if this
exchange matches the predicate
|
static Predicate |
toPredicate(Expression expression)
Converts the given expression into an
Predicate |
String |
toString() |
public ExpressionToPredicateAdapter(Expression expression)
public boolean matches(Exchange exchange)
Predicate
public static Predicate toPredicate(Expression expression)
Predicate
Apache Camel