public class JuelExpression
extends org.apache.camel.support.ExpressionSupport
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_EXPRESSION_FACTORY_IMPL_CLASS |
Constructor and Description |
---|
JuelExpression(String expression,
Class<?> type) |
Modifier and Type | Method and Description |
---|---|
protected String |
assertionFailureMessage(org.apache.camel.Exchange exchange) |
protected javax.el.ELContext |
createContext()
Factory method to create the EL context
|
static JuelExpression |
el(String expression) |
<T> T |
evaluate(org.apache.camel.Exchange exchange,
Class<T> tClass) |
javax.el.ExpressionFactory |
getExpressionFactory() |
javax.el.ExpressionFactory |
getExpressionFactory(org.apache.camel.CamelContext context) |
protected javax.el.ELContext |
populateContext(javax.el.ELContext context,
org.apache.camel.Exchange exchange) |
void |
setExpressionFactory(javax.el.ExpressionFactory expressionFactory) |
protected void |
setVariable(javax.el.ELContext context,
String name,
Object value,
Class<?> type) |
public static final String DEFAULT_EXPRESSION_FACTORY_IMPL_CLASS
public static JuelExpression el(String expression)
public <T> T evaluate(org.apache.camel.Exchange exchange, Class<T> tClass)
public javax.el.ExpressionFactory getExpressionFactory(org.apache.camel.CamelContext context)
public javax.el.ExpressionFactory getExpressionFactory()
public void setExpressionFactory(javax.el.ExpressionFactory expressionFactory)
protected javax.el.ELContext populateContext(javax.el.ELContext context, org.apache.camel.Exchange exchange)
protected void setVariable(javax.el.ELContext context, String name, Object value, Class<?> type)
protected javax.el.ELContext createContext()
protected String assertionFailureMessage(org.apache.camel.Exchange exchange)
assertionFailureMessage
in class org.apache.camel.support.ExpressionSupport
Apache Camel