Package org.mule.module.db.internal.resolver.param

Examples of org.mule.module.db.internal.resolver.param.DynamicParamValueResolver


            payload = muleContext.getExpressionManager().evaluate(source, muleEvent);
        }

        final Iterator<Object> paramsIterator = getIterator(payload);

        ParamValueResolver paramValueResolver = new DynamicParamValueResolver(muleContext.getExpressionManager());

        List<List<QueryParamValue>> result = new LinkedList<List<QueryParamValue>>();

        while (paramsIterator.hasNext())
        {
            MuleMessage itemMessage = new DefaultMuleMessage(paramsIterator.next(), muleContext);
            MuleEvent itemEvent = new DefaultMuleEvent(itemMessage, muleEvent);
            List<QueryParamValue> queryParamValues = paramValueResolver.resolveParams(itemEvent, query.getParamValues());
            result.add(queryParamValues);
        }

        return result;
    }
View Full Code Here


    private MuleContext context;

    @Override
    public ParamValueResolver getObject() throws Exception
    {
        return new DynamicParamValueResolver(context.getExpressionManager());
    }
View Full Code Here

TOP

Related Classes of org.mule.module.db.internal.resolver.param.DynamicParamValueResolver

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.