org.apache.camel
Interface Expression<E extends Exchange>

All Known Implementing Classes:
AssertionClause.PredicateValueBuilder, BeanExpression, BeanShellExpression, ConstantExpression, ELExpression, ExpressionClause, ExpressionSupport, ExpressionType, GroovyExpression, HeaderExpression, JavaScriptExpression, JXPathExpression, LanguageExpression, MethodCallExpression, NamespaceAwareExpression, OgnlExpression, PhpExpression, PythonExpression, RubyExpression, SimpleExpression, SqlExpression, ValueBuilder, XPathBuilder, XPathExpression, XQueryExpression

public interface Expression<E extends Exchange>

An expression provides a plugin strategy for evaluating expressions on a message exchange to support things like scripting languages, XQuery or SQL as well as any arbitrary Java expression.

Version:
$Revision: 630591 $

Method Summary
 Object evaluate(E exchange)
          Returns the value of the expression on the given exchange
 

Method Detail

evaluate

Object evaluate(E exchange)
Returns the value of the expression on the given exchange

Parameters:
exchange - the message exchange on which to evaluate the expression
Returns:
the value of the expression


Apache CAMEL