use of org.apache.camel.model.language.LanguageExpression in project camel by apache.
the class ExpressionClauseSupport method language.
/**
* Evaluates a given language name with the expression text
*
* @param language the name of the language
* @param expression the expression in the given language
* @return the builder to continue processing the DSL
*/
public T language(String language, String expression) {
LanguageExpression exp = new LanguageExpression(language, expression);
setExpressionType(exp);
return result;
}
Aggregations