|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.routing.outbound.AbstractOutboundRouter
org.mule.routing.RoundRobin
public class RoundRobin
RoundRobin divides the messages it receives among its target routes in round-robin fashion. This includes messages received on all threads, so there is no guarantee that messages received from a splitter are sent to consecutively numbered targets.
Field Summary |
---|
Fields inherited from class org.mule.routing.outbound.AbstractOutboundRouter |
---|
enableCorrelation, flowConstruct, initialised, logger, magicProperties, muleContext, replyTo, resultsHandler, routes, started, transactionConfig |
Fields inherited from interface org.mule.api.lifecycle.Initialisable |
---|
PHASE_NAME |
Fields inherited from interface org.mule.api.lifecycle.Startable |
---|
PHASE_NAME |
Fields inherited from interface org.mule.api.lifecycle.Stoppable |
---|
PHASE_NAME |
Fields inherited from interface org.mule.api.lifecycle.Disposable |
---|
PHASE_NAME |
Constructor Summary | |
---|---|
RoundRobin()
|
Method Summary | |
---|---|
boolean |
isMatch(MuleMessage message)
Determines if the event should be processed |
MuleEvent |
route(MuleEvent event)
Process the event using the next target route in sequence |
Methods inherited from class org.mule.routing.outbound.AbstractOutboundRouter |
---|
addRoute, dispose, getEnableCorrelation, getMuleContext, getReplyTo, getResultsHandler, getRoute, getRouterStatistics, getRoutes, getTransactionConfig, initialise, isDynamicRoutes, process, propagateMagicProperties, removeRoute, sendRequest, sendRequestEvent, setEnableCorrelation, setEnableCorrelationAsString, setFlowConstruct, setMessageProcessors, setMessageProperties, setMuleContext, 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 |
Methods inherited from interface org.mule.api.processor.MessageProcessor |
---|
process |
Constructor Detail |
---|
public RoundRobin()
Method Detail |
---|
public MuleEvent route(MuleEvent event) throws MessagingException
route
in class AbstractOutboundRouter
MessagingException
public boolean isMatch(MuleMessage message) throws MuleException
Matchable
isMatch
in interface Matchable
MuleException
- if the event cannot be evaluated
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |