public interface Expression
| Modifier and Type | Method and Description |
|---|---|
<T> T |
evaluate(Exchange exchange,
Class<T> type)
Returns the value of the expression on the given exchange
|
default void |
init(CamelContext context)
Initialize the expression with the given camel context
|
<T> T evaluate(Exchange exchange, Class<T> type)
exchange - the message exchange on which to evaluate the expressiontype - the expected type of the evaluation resultdefault void init(CamelContext context)
Apache Camel