org.mule.routing.outbound
Class StaticRecipientList

java.lang.Object
  extended byorg.mule.routing.AbstractRouter
      extended byorg.mule.routing.outbound.AbstractOutboundRouter
          extended byorg.mule.routing.outbound.FilteringOutboundRouter
              extended byorg.mule.routing.outbound.AbstractRecipientList
                  extended byorg.mule.routing.outbound.StaticRecipientList
All Implemented Interfaces:
UMOOutboundRouter, UMORouter

public class StaticRecipientList
extends AbstractRecipientList

StaticRecipientList is used to dispatch a single event to multiple recipients over the same transport. The recipient endpoints for this router can be configured statically on the router itself.


Field Summary
static String RECIPIENT_DELIMITER
           
static String RECIPIENTS_PROPERTY
           
 
Fields inherited from class org.mule.routing.outbound.AbstractRecipientList
logger
 
Fields inherited from class org.mule.routing.outbound.AbstractOutboundRouter
ENABLE_CORRELATION_ALWAYS, ENABLE_CORRELATION_IF_NOT_SET, ENABLE_CORRELATION_NEVER, enableCorrelation, endpoints, propertyExtractor, replyTo, transactionConfig
 
Constructor Summary
StaticRecipientList()
           
 
Method Summary
protected  String getListDelimiter()
          Overloading classes can change the delimiter used to separate entries in the recipient list.
 List getRecipients()
           
protected  List getRecipients(UMOMessage message)
           
 void setRecipients(List recipients)
           
 
Methods inherited from class org.mule.routing.outbound.AbstractRecipientList
getRecipientEndpoint, isDynamicEndpoints, route
 
Methods inherited from class org.mule.routing.outbound.FilteringOutboundRouter
addEndpoint, getEndpoint, getFilter, getTransformer, isMatch, isUseTemplates, setFilter, setTransformer, setUseTemplates
 
Methods inherited from class org.mule.routing.outbound.AbstractOutboundRouter
dispatch, getEnableCorrelation, getEndpoints, getPropertyExtractor, getReplyTo, getTransactionConfig, removeEndpoint, send, setEnableCorrelation, setEnableCorrelationAsString, setEndpoints, setMessageProperties, setPropertyExtractor, setPropertyExtractorAsString, setReplyTo, setTransactionConfig
 
Methods inherited from class org.mule.routing.AbstractRouter
getRouterStatistics, 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.umo.routing.UMORouter
getRouterStatistics, setRouterStatistics
 

Field Detail

RECIPIENTS_PROPERTY

public static final String RECIPIENTS_PROPERTY
See Also:
Constant Field Values

RECIPIENT_DELIMITER

public static final String RECIPIENT_DELIMITER
See Also:
Constant Field Values
Constructor Detail

StaticRecipientList

public StaticRecipientList()
Method Detail

getRecipients

protected List getRecipients(UMOMessage message)
Specified by:
getRecipients in class AbstractRecipientList

getRecipients

public List getRecipients()

setRecipients

public void setRecipients(List recipients)

getListDelimiter

protected String getListDelimiter()
Overloading classes can change the delimiter used to separate entries in the recipient list. By default a ',' is used.

Returns:
The list delimiter to use


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