org.apache.camel.language.jxpath
Class JXPathExpression
java.lang.Object
org.apache.camel.impl.ExpressionSupport<Exchange>
org.apache.camel.language.jxpath.JXPathExpression
- All Implemented Interfaces:
- Expression<Exchange>, Predicate<Exchange>
public class JXPathExpression
- extends ExpressionSupport<Exchange>
JXPath Expression support
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JXPathExpression
public JXPathExpression(String expression,
Class<?> type)
- Creates a new JXPathExpression instance
- Parameters:
expression - the JXPath expression to be evaluatedtype - the expected result type
evaluate
public Object evaluate(Exchange exchange)
assertionFailureMessage
protected String assertionFailureMessage(Exchange exchange)
- Specified by:
assertionFailureMessage in class ExpressionSupport<Exchange>
Apache CAMEL