public interface BinaryPredicate extends Predicate
matchesReturningFailureMessage(org.apache.camel.Exchange)
method which evaluates and returns a detailed
failure message if the predicate did not match.Modifier and Type | Method and Description |
---|---|
Expression |
getLeft()
Gets the left hand side expression
|
String |
getOperator()
Gets the operator
|
Expression |
getRight()
Gets the right hand side expression
|
String |
matchesReturningFailureMessage(Exchange exchange)
Evaluates the predicate on the message exchange and returns null if this exchange matches the predicate.
|
init, initPredicate, matches
String getOperator()
Expression getLeft()
Expression getRight()
String matchesReturningFailureMessage(Exchange exchange)
exchange
- the message exchangeApache Camel