Expression delay = createAbsoluteTimeDelayExpression(routeContext);
return new Delayer(childProcessor, delay);
}
private Expression createAbsoluteTimeDelayExpression(RouteContext routeContext) {
ExpressionDefinition expr = getExpression();
if (expr != null) {
if (ObjectHelper.isNotEmpty(expr.getExpression()) || expr.getExpressionValue() != null) {
return expr.createExpression(routeContext);
}
}
return null;
}