Search in sources :

Example 1 with JXPathExpression

use of org.apache.camel.model.language.JXPathExpression in project camel by apache.

the class ExpressionClauseSupport method jxpath.

/**
     * Evaluates a <a href="http://commons.apache.org/jxpath/">JXPath expression</a>
     *
     * @param text the expression to be evaluated
     * @param lenient to configure whether lenient is in use or not
     * @return the builder to continue processing the DSL
     */
@Deprecated
public T jxpath(String text, boolean lenient) {
    JXPathExpression answer = new JXPathExpression(text);
    answer.setLenient(lenient);
    return expression(answer);
}
Also used : JXPathExpression(org.apache.camel.model.language.JXPathExpression)

Aggregations

JXPathExpression (org.apache.camel.model.language.JXPathExpression)1