org.mule.routing.outbound
Class SequenceRouter
java.lang.Object
org.mule.processor.AbstractMuleObjectOwner<MessageProcessor>
org.mule.processor.AbstractMessageProcessorOwner
org.mule.routing.outbound.AbstractOutboundRouter
org.mule.routing.outbound.FilteringOutboundRouter
org.mule.routing.outbound.AbstractSequenceRouter
org.mule.routing.outbound.SequenceRouter
- All Implemented Interfaces:
- AnnotatedObject, FlowConstructAware, MuleContextAware, Disposable, Initialisable, Lifecycle, Startable, Stoppable, MessageProcessor, MessageRouter, Matchable, MatchableMessageProcessor, MatchableMessageRouter, OutboundRouter, RouterStatisticsRecorder, TransformingMatchable
public class SequenceRouter
- extends AbstractSequenceRouter
Defines a AbstractSequenceRouter
that stops the routing of a given
message when a synchronous endpoint has returned a null or an exception
message.
Asynchronous endpoints are managed as in the AbstractSequenceRouter
.
Method Summary |
protected boolean |
continueRoutingMessageAfter(MuleEvent event)
Determines if the routing should continue after receiving a given
response from an synchronous endpoint. |
Methods inherited from class org.mule.routing.outbound.FilteringOutboundRouter |
addRoute, getFilter, getRoute, getTransformers, initialise, isMatch, isTransformBeforeMatch, isUseTemplates, setFilter, setTransformers, setUseTemplates |
Methods inherited from class org.mule.routing.outbound.AbstractOutboundRouter |
cloneMessage, createEventToRoute, dispose, getEnableCorrelation, getMuleContext, getOwnedMessageProcessors, getReplyTo, getResultsHandler, getRoute, getRouterStatistics, getRoutes, getTransactionConfig, isDynamicRoutes, process, propagateMagicProperties, removeRoute, sendRequest, sendRequestEvent, setEnableCorrelation, setEnableCorrelationAsString, setMessageProcessors, setMessageProperties, setReplyTo, setResultsHandler, setRouterStatistics, setRoutes, setTransactionConfig, start, stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SequenceRouter
public SequenceRouter()
continueRoutingMessageAfter
protected boolean continueRoutingMessageAfter(MuleEvent event)
- Determines if the routing should continue after receiving a given
response from an synchronous endpoint.
- Specified by:
continueRoutingMessageAfter
in class AbstractSequenceRouter
- Parameters:
event
- the last received response event
- Returns:
- true if the message is not null and is not an exception message.
False otherwise.
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.