{
return new DynamicQueryResolver(query, new SimpleQueryTemplateParser(), muleContext.getExpressionManager());
}
else if (hasParameters(query))
{
return new ParametrizedQueryResolver(query, paramValueResolver);
}
else
{
return new StaticQueryResolver(query);
}