org.mule.routing.outbound
Class AbstractMessageSplitter
java.lang.Object
org.mule.routing.outbound.AbstractOutboundRouter
org.mule.routing.outbound.FilteringOutboundRouter
org.mule.routing.outbound.AbstractMessageSplitter
- All Implemented Interfaces:
- UMOOutboundRouter, UMORouter
- Direct Known Subclasses:
- FilteringListMessageSplitter
- public abstract class AbstractMessageSplitter
- extends FilteringOutboundRouter
AbstractMessageSplitter
is an outbound Message Splitter used to
split the contents of a received message into sup parts that can be processed by
other components.
- Version:
- $Revision: 1.1.1.1 $
- Author:
- Ross Mason
Methods inherited from class org.mule.routing.outbound.AbstractOutboundRouter |
addEndpoint, dispatch, getCorrelationGroupExtractor, getCorrelationIdExtractor, getCorrelationSequenceExtractor, getEndpoints, getReplyTo, getRouterStatistics, isCorrelationId, removeEndpoint, send, setCorrelationGroupExtractor, setCorrelationId, setCorrelationIdExtractor, setCorrelationSequenceExtractor, setEndpoints, setMessageProperties, setReplyTo, setRouterStatistics |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
multimatch
protected boolean multimatch
AbstractMessageSplitter
public AbstractMessageSplitter()
route
public UMOMessage route(UMOMessage message,
UMOSession session,
boolean synchronous)
throws RoutingException
- Specified by:
route
in interface UMOOutboundRouter
- Overrides:
route
in class FilteringOutboundRouter
- Throws:
RoutingException
initialise
protected void initialise(UMOMessage message)
- Template method can be used to split the message up before the getMessagePart
method is called .
- Parameters:
message
- the message being routed
getMessagePart
protected abstract UMOMessage getMessagePart(UMOMessage message,
UMOEndpoint endpoint)
- Retrieves a specific message part for the given endpoint. the message will then
be routed via the parovider.
- Parameters:
message
- the current message being processedendpoint
- the endpoint that will be used to route the resulting message
part
- Returns:
- the message part to dispatch
Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.