public Object evaluate(Exchange exchange) {
Object value = exp.evaluate(exchange, Object.class);
if (value == null) {
return null;
}
return new MethodCallExpression(value, ognl).evaluate(exchange);
}
@Override
public String toString() {
return "ognl(" + exp + ", " + ognl + ")";