public abstract class ExpressionAdapter extends ExpressionSupport
Expression
using Java code with a
minimum amount of code to write so that the developer only needs to implement one of the
evaluate(org.apache.camel.Exchange, Class)
or ExpressionSupport.evaluate(org.apache.camel.Exchange)
methods.Constructor and Description |
---|
ExpressionAdapter() |
Modifier and Type | Method and Description |
---|---|
protected String |
assertionFailureMessage(org.apache.camel.Exchange exchange) |
<T> T |
evaluate(org.apache.camel.Exchange exchange,
Class<T> type) |
void |
init(org.apache.camel.CamelContext context) |
assertMatches, evaluate, matches
public void init(org.apache.camel.CamelContext context)
init
in interface org.apache.camel.Expression
init
in interface org.apache.camel.Predicate
init
in class ExpressionSupport
protected String assertionFailureMessage(org.apache.camel.Exchange exchange)
assertionFailureMessage
in class ExpressionSupport
public <T> T evaluate(org.apache.camel.Exchange exchange, Class<T> type)
Apache Camel