Package org.mule.module.db.internal.processor

Examples of org.mule.module.db.internal.processor.StoredProcedureMessageProcessor


    public void returnsNullStoredProcedureOutputMetadata() throws Exception
    {
        Flow flowConstruct = (Flow) muleContext.getRegistry().lookupFlowConstruct("storedProcedureMetadata");

        List<MessageProcessor> messageProcessors = flowConstruct.getMessageProcessors();
        StoredProcedureMessageProcessor dbMessageProcessor = (StoredProcedureMessageProcessor) messageProcessors.get(0);
        Result<MetaData> inputMetaData = dbMessageProcessor.getOutputMetaData(null);

        assertThat(inputMetaData, equalTo(null));
    }
View Full Code Here


    public void returnsNullStoredProcedureInputMetadata() throws Exception
    {
        Flow flowConstruct = (Flow) muleContext.getRegistry().lookupFlowConstruct("storedProcedureMetadata");

        List<MessageProcessor> messageProcessors = flowConstruct.getMessageProcessors();
        StoredProcedureMessageProcessor dbMessageProcessor = (StoredProcedureMessageProcessor) messageProcessors.get(0);
        Result<MetaData> inputMetaData = dbMessageProcessor.getInputMetaData();

        assertThat(inputMetaData, equalTo(null));
    }
View Full Code Here

TOP

Related Classes of org.mule.module.db.internal.processor.StoredProcedureMessageProcessor

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.