public class SpelExpression
extends org.apache.camel.support.ExpressionSupport
| Constructor and Description |
|---|
SpelExpression(String expressionString,
Class<?> type) |
SpelExpression(String expressionString,
Class<?> type,
org.springframework.expression.BeanResolver beanResolver) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
assertionFailureMessage(org.apache.camel.Exchange exchange) |
<T> T |
evaluate(org.apache.camel.Exchange exchange,
Class<T> tClass) |
Class<?> |
getType() |
void |
init(org.apache.camel.CamelContext context) |
static SpelExpression |
spel(String expression) |
String |
toString() |
assertMatches, evaluate, matchespublic static SpelExpression spel(String expression)
public <T> T evaluate(org.apache.camel.Exchange exchange,
Class<T> tClass)
public Class<?> getType()
protected String assertionFailureMessage(org.apache.camel.Exchange exchange)
assertionFailureMessage in class org.apache.camel.support.ExpressionSupportpublic void init(org.apache.camel.CamelContext context)
init in interface org.apache.camel.Expressioninit in interface org.apache.camel.Predicateinit in class org.apache.camel.support.ExpressionSupportApache Camel