@Override
public QueryResolver getObject() throws Exception
{
if (isDynamic(query))
{
return new DynamicQueryResolver(query, new SimpleQueryTemplateParser(), muleContext.getExpressionManager());
}
else if (hasParameters(query))
{
return new ParametrizedQueryResolver(query, paramValueResolver);
}