org.mule.module.xml.routing
Class FilterBasedXmlMessageSplitter

java.lang.Object
  extended by org.mule.routing.AbstractRouter
      extended by org.mule.routing.outbound.AbstractOutboundRouter
          extended by org.mule.routing.outbound.FilteringOutboundRouter
              extended by org.mule.routing.outbound.AbstractMessageSplitter
                  extended by org.mule.routing.outbound.AbstractRoundRobinMessageSplitter
                      extended by org.mule.module.xml.routing.XmlMessageSplitter
                          extended by org.mule.module.xml.routing.FilterBasedXmlMessageSplitter
All Implemented Interfaces:
MuleContextAware, Disposable, Initialisable, OutboundRouter, Router

public class FilterBasedXmlMessageSplitter
extends XmlMessageSplitter

This splitter will select the endpoint to send a message part on by filtering parts using the endpoint filters.


Field Summary
 
Fields inherited from class org.mule.module.xml.routing.XmlMessageSplitter
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, namespaceManager, namespaces, splitExpression, validateSchema
 
Fields inherited from class org.mule.routing.outbound.FilteringOutboundRouter
expressionManager
 
Fields inherited from class org.mule.routing.outbound.AbstractOutboundRouter
ENABLE_CORRELATION_ALWAYS, ENABLE_CORRELATION_IF_NOT_SET, ENABLE_CORRELATION_NEVER, enableCorrelation, endpoints, logger, messageInfoMapping, replyTo, resultsHandler, transactionConfig
 
Fields inherited from class org.mule.routing.AbstractRouter
muleContext
 
Fields inherited from interface org.mule.api.lifecycle.Initialisable
PHASE_NAME
 
Fields inherited from interface org.mule.api.lifecycle.Disposable
PHASE_NAME
 
Constructor Summary
FilterBasedXmlMessageSplitter()
           
 
Method Summary
 void initialise()
          Method used to perform any initialisation work.
 
Methods inherited from class org.mule.module.xml.routing.XmlMessageSplitter
getExternalSchemaLocation, getNamespaces, getSplitExpression, isValidateSchema, setDoSchemaValidation, setExternalSchemaLocation, setNamespaces, setSplitExpression, setValidateSchema, splitMessage
 
Methods inherited from class org.mule.routing.outbound.AbstractRoundRobinMessageSplitter
getMessageParts, isDeterministic, isDisableRoundRobin, isFailIfNoMatch, setDeterministic, setDisableRoundRobin, setFailIfNoMatch
 
Methods inherited from class org.mule.routing.outbound.AbstractMessageSplitter
route
 
Methods inherited from class org.mule.routing.outbound.FilteringOutboundRouter
addEndpoint, getEndpoint, getFilter, getTransformers, isMatch, isRequiresNewMessage, isUseTemplates, setFilter, setTransformers, setUseTemplates
 
Methods inherited from class org.mule.routing.outbound.AbstractOutboundRouter
createTransactionTemplate, dispatch, getEnableCorrelation, getEndpoint, getEndpoints, getMessageInfoMapping, getReplyTo, getResultsHandler, getTransactionConfig, isDynamicEndpoints, removeEndpoint, send, setEnableCorrelation, setEnableCorrelationAsString, setEndpoints, setMessageInfoMapping, setMessageProperties, setReplyTo, setResultsHandler, setTransactionConfig
 
Methods inherited from class org.mule.routing.AbstractRouter
dispose, getMuleContext, getRouterStatistics, setMuleContext, setRouterStatistics
 
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.routing.Router
getRouterStatistics, setRouterStatistics
 
Methods inherited from interface org.mule.api.lifecycle.Disposable
dispose
 

Constructor Detail

FilterBasedXmlMessageSplitter

public FilterBasedXmlMessageSplitter()
Method Detail

initialise

public void initialise()
                throws InitialisationException
Description copied from interface: Initialisable
Method used to perform any initialisation work. If a fatal error occurs during initialisation an InitialisationException should be thrown, causing the Mule instance to shutdown. If the error is recoverable, say by retrying to connect, a RecoverableException should be thrown. There is no guarantee that by throwing a Recoverable exception that the Mule instance will not shut down.

Specified by:
initialise in interface Initialisable
Overrides:
initialise in class XmlMessageSplitter
Throws:
InitialisationException - if a fatal error occurs causing the Mule instance to shutdown
RecoverableException - if an error occurs that can be recovered from


Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.