Package org.apache.synapse.mediators.base

Examples of org.apache.synapse.mediators.base.SequenceMediator.mediate()


                } else {
                    if (log.isDebugEnabled()) {
                        log.debug("Synchronously mediating using the sequence " +
                                "named : " + sequenceRef);
                    }
                    returnValue = refSequence.mediate(synCtx);
                }
            } else {
                handleException("Couldn't find the sequence named : " + sequenceRef);
            }
        } else if (endpoint != null) {
View Full Code Here


        }

        SequenceMediator sequence = synCtx.isResponse() ? outSequence : inSequence;
        if (sequence != null) {
            registerFaultHandler(synCtx);
            sequence.mediate(synCtx);
            return;
        }

        String sequenceKey = synCtx.isResponse() ? outSequenceKey : inSequenceKey;
        if (sequenceKey != null) {
View Full Code Here

                } else if (target.getSequenceRef() != null) {
                    SequenceMediator refSequence
                        = (SequenceMediator) synCtx.getSequence(target.getSequenceRef());
                    if (refSequence != null) {
                        mediationResult = refSequence.mediate(synCtx);
                    }
                    sendToEndpoint(synCtx);

                } else {
                    sendToEndpoint(synCtx);
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.