public class RoundRobinXmlSplitter extends FilteringXmlMessageSplitter
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
enableEndpointFiltering |
externalSchemaLocation, namespaces, nodesContext, propertiesContext, splitExpression, validateSchemahonorSynchronicity, multimatchENABLE_CORRELATION_ALWAYS, ENABLE_CORRELATION_IF_NOT_SET, ENABLE_CORRELATION_NEVER, enableCorrelation, endpoints, logger, messageInfoMapping, replyTo, transactionConfigmuleContextPHASE_NAMEPHASE_NAME| Constructor and Description |
|---|
RoundRobinXmlSplitter() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEndpoint(OutboundEndpoint endpoint)
Adds an endpoint to this router
|
protected OutboundEndpoint |
getEndpointForMessage(MuleMessage message)
Retrieves a specific message part for the given endpoint.
|
boolean |
isDeterministic() |
boolean |
isEnableEndpointFiltering() |
MuleMessage |
route(MuleMessage message,
MuleSession session,
boolean synchronous)
This method is responsible for routing the Message via the MuleSession.
|
void |
setDeterministic(boolean deterministic) |
void |
setEnableEndpointFiltering(boolean enableEndpointFiltering) |
cleanup, getExternalSchemaLocation, getMessagePart, getNamespaces, getSplitExpression, initialise, isValidateSchema, setExternalSchemaLocation, setNamespaces, setSplitExpression, setValidateSchemaisHonorSynchronicity, setHonorSynchronicitygetEndpoint, getFilter, getTransformers, isMatch, isUseTemplates, setFilter, setTransformers, setUseTemplatescreateTransactionTemplate, dispatch, getEnableCorrelation, getEndpoint, getEndpoints, getMessageInfoMapping, getReplyTo, getTransactionConfig, isDynamicEndpoints, removeEndpoint, send, setEnableCorrelation, setEnableCorrelationAsString, setEndpoints, setMessageInfoMapping, setMessageProperties, setReplyTo, setTransactionConfigdispose, getMuleContext, getRouterStatistics, initialise, setMuleContext, setRouterStatisticsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRouterStatistics, setRouterStatisticsinitialisedisposepublic MuleMessage route(MuleMessage message, MuleSession session, boolean synchronous) throws RoutingException
OutboundRouterroute in interface OutboundRouterroute in class AbstractMessageSplittermessage - the message to send via one or more endpoints on this routersession - the session used to actually send the eventsynchronous - whether the invocation process should be synchronous or notRoutingExceptionFilteringOutboundRouter,
ExceptionBasedRouter,
MulticastingRouterprotected OutboundEndpoint getEndpointForMessage(MuleMessage message)
message - the current message being processedpublic void addEndpoint(OutboundEndpoint endpoint)
OutboundRouteraddEndpoint in interface OutboundRouteraddEndpoint in class FilteringOutboundRouterendpoint - the endpoint to add to the routerpublic boolean isEnableEndpointFiltering()
public void setEnableEndpointFiltering(boolean enableEndpointFiltering)
public boolean isDeterministic()
public void setDeterministic(boolean deterministic)
Copyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.