Examples of propagateRootId()


Examples of org.mule.DefaultMessageCollection.propagateRootId()

        MuleMessageCollection coll = new DefaultMessageCollection(muleContext);
        for (MuleEvent event : nonNullResults)
        {
            coll.addMessage(event.getMessage());
        }
        coll.propagateRootId(previous.getMessage());
        MuleEvent resultEvent = new DefaultMuleEvent(coll, previous, previous.getSession());
        for (String name : previous.getFlowVariableNames())
        {
            resultEvent.setFlowVariable(name, previous.getFlowVariable(name));
        }
View Full Code Here

Examples of org.mule.DefaultMuleMessage.propagateRootId()

            return event;
        }
        else
        {
            DefaultMuleMessage emptyMessage = new DefaultMuleMessage(NullPayload.getInstance(), muleContext);
            emptyMessage.propagateRootId(event.getMessage());
            return new DefaultMuleEvent(emptyMessage, event);
        }
    }

    protected abstract Object doInvoke(MuleEvent event) throws Exception;
View Full Code Here

Examples of org.mule.api.MuleMessage.propagateRootId()

                    result.setMessageRootId(rootId);
                    result.removeProperty(MuleProperties.MULE_ROOT_MESSAGE_ID_PROPERTY, PropertyScope.INBOUND);
                }
                if (beginNotification != null)
                {
                    result.propagateRootId(beginNotification.getSource());
                }
                if (!endpoint.isDisableTransportTransformer())
                {
                    applyInboundTransformers(result);
                }
View Full Code Here

Examples of org.mule.api.MuleMessage.propagateRootId()

            }
            else
            {
                sendMessage = new DefaultMuleMessage(part.getPart(), props, muleContext);
            }
            sendMessage.propagateRootId(message);
            try
            {
                if (enableCorrelation != CorrelationMode.NEVER)
                {
                    boolean correlationSet = message.getCorrelationId() != null;
View Full Code Here

Examples of org.mule.api.MuleMessage.propagateRootId()

                // concrete
                // message splitter implementations
                message.setCorrelationGroupSize(count);
                message.setCorrelationSequence(correlationSequence);
            }
            message.propagateRootId(originalEvent.getMessage());
            MuleEvent resultEvent = processNext(RequestContext.setEvent(new DefaultMuleEvent(message, originalEvent, currentEvent.getSession())));
            if (resultEvent != null && !VoidMuleEvent.getInstance().equals(resultEvent))
            {
                currentEvent = resultEvent;
                resultEvents.add(resultEvent);
View Full Code Here

Examples of org.mule.api.MuleMessageCollection.propagateRootId()

        MuleMessageCollection coll = new DefaultMessageCollection(muleContext);
        for (MuleEvent event : nonNullResults)
        {
            coll.addMessage(event.getMessage());
        }
        coll.propagateRootId(previous.getMessage());
        MuleEvent resultEvent = new DefaultMuleEvent(coll, previous, previous.getSession());
        for (String name : previous.getFlowVariableNames())
        {
            resultEvent.setFlowVariable(name, previous.getFlowVariable(name));
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.