org.mule.routing.outbound
Class RoundRobinXmlSplitter
java.lang.Object
org.mule.routing.AbstractRouter
org.mule.routing.outbound.AbstractOutboundRouter
org.mule.routing.outbound.FilteringOutboundRouter
org.mule.routing.outbound.AbstractMessageSplitter
org.mule.routing.outbound.FilteringXmlMessageSplitter
org.mule.routing.outbound.RoundRobinXmlSplitter
- All Implemented Interfaces:
- UMOOutboundRouter, UMORouter
- public class RoundRobinXmlSplitter
- extends FilteringXmlMessageSplitter
This router will split the Xml message into parts based on the xpath expression
and route each new event to the endpoints on the router, one after the other.
| Fields inherited from class org.mule.routing.outbound.FilteringXmlMessageSplitter |
APACHE_XML_FEATURES_VALIDATION_SCHEMA, APACHE_XML_FEATURES_VALIDATION_SCHEMA_FULL_CHECKING, externalSchemaLocation, JAXP_PROPERTIES_SCHEMA_LANGUAGE, JAXP_PROPERTIES_SCHEMA_LANGUAGE_VALUE, JAXP_PROPERTIES_SCHEMA_SOURCE, namespaces, nodesContext, propertiesContext, splitExpression, validateSchema |
| Methods inherited from class org.mule.routing.outbound.FilteringXmlMessageSplitter |
cleanup, getExternalSchemaLocation, getMessagePart, getSplitExpression, initialise, isValidateSchema, setDoSchemaValidation, setExternalSchemaLocation, setNamespaces, setSplitExpression, setValidateSchema |
| Methods inherited from class org.mule.routing.outbound.AbstractOutboundRouter |
dispatch, getEnableCorrelation, getEndpoints, getPropertyExtractor, getReplyTo, getTransactionConfig, isDynamicEndpoints, removeEndpoint, send, setEnableCorrelation, setEnableCorrelationAsString, setEndpoints, setMessageProperties, setPropertyExtractor, setPropertyExtractorAsString, setReplyTo, setTransactionConfig |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
enableEndpointFiltering
protected volatile boolean enableEndpointFiltering
RoundRobinXmlSplitter
public RoundRobinXmlSplitter()
route
public UMOMessage route(UMOMessage message,
UMOSession session,
boolean synchronous)
throws RoutingException
- Throws:
RoutingException
getEndpointForMessage
protected UMOEndpoint getEndpointForMessage(UMOMessage message)
- Retrieves a specific message part for the given endpoint. the message will
then be routed via the provider.
- Parameters:
message - the current message being processed
- Returns:
- the message part to dispatch
addEndpoint
public void addEndpoint(UMOEndpoint endpoint)
isEnableEndpointFiltering
public boolean isEnableEndpointFiltering()
setEnableEndpointFiltering
public void setEnableEndpointFiltering(boolean enableEndpointFiltering)
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.