org.mule.routing.outbound
Class FilteringListMessageSplitter

java.lang.Object
  extended byorg.mule.routing.outbound.AbstractOutboundRouter
      extended byorg.mule.routing.outbound.FilteringOutboundRouter
          extended byorg.mule.routing.outbound.AbstractMessageSplitter
              extended byorg.mule.routing.outbound.FilteringListMessageSplitter
All Implemented Interfaces:
UMOOutboundRouter, UMORouter

public class FilteringListMessageSplitter
extends AbstractMessageSplitter

FilteringListMessageSplitter Accepts a List as a message payload then routes list elements as messages over an endpoint where the endpoint's filter accepts the payload.

Version:
$Revision: 1.2 $
Author:
Ross Mason

Field Summary
 
Fields inherited from class org.mule.routing.outbound.AbstractMessageSplitter
multimatch
 
Fields inherited from class org.mule.routing.outbound.AbstractOutboundRouter
ENABLE_CORREATION_ALWAYS, ENABLE_CORREATION_IF_NOT_SET, ENABLE_CORREATION_NEVER, enableCorrelation, endpoints, logger, propertyExtractor, replyTo, routerStatistics, transactionConfig
 
Constructor Summary
FilteringListMessageSplitter()
           
 
Method Summary
protected  UMOMessage getMessagePart(UMOMessage message, UMOEndpoint endpoint)
          Retrieves a specific message part for the given endpoint.
protected  void initialise(UMOMessage message)
          Template method can be used to split the message up before the getMessagePart method is called .
 
Methods inherited from class org.mule.routing.outbound.AbstractMessageSplitter
route
 
Methods inherited from class org.mule.routing.outbound.FilteringOutboundRouter
getFilter, getTransformer, isMatch, setFilter, setTransformer
 
Methods inherited from class org.mule.routing.outbound.AbstractOutboundRouter
addEndpoint, dispatch, getEnableCorrelation, getEndpoints, getPropertyExtractor, getReplyTo, getRouterStatistics, getTransactionConfig, removeEndpoint, send, setEnableCorrelation, setEnableCorrelationAsString, setEndpoints, setMessageProperties, setPropertyExtractor, setReplyTo, setRouterStatistics, setTransactionConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilteringListMessageSplitter

public FilteringListMessageSplitter()
Method Detail

initialise

protected void initialise(UMOMessage message)
Template method can be used to split the message up before the getMessagePart method is called .

Overrides:
initialise in class AbstractMessageSplitter
Parameters:
message - the message being routed

getMessagePart

protected UMOMessage getMessagePart(UMOMessage message,
                                    UMOEndpoint endpoint)
Retrieves a specific message part for the given endpoint. the message will then be routed via the parovider.

Specified by:
getMessagePart in class AbstractMessageSplitter
Parameters:
message - the current message being processed
endpoint - 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.