public abstract class AbstractRecipientList extends FilteringOutboundRouter
AbstractRecipientList is used to dispatch a single event to
multiple recipients over the same transport. The recipient targets can be
configured statically or can be obtained from the message payload.expressionManagerenableCorrelation, initialised, logger, replyTo, resultsHandler, routes, started, transactionConfigflowConstruct, messagingExceptionHandler, muleContextPHASE_NAMEPHASE_NAMEPHASE_NAMEPHASE_NAMEPROPERTY_NAME| Constructor and Description |
|---|
AbstractRecipientList() |
| Modifier and Type | Method and Description |
|---|---|
protected OutboundEndpoint |
buildOutboundEndpoint(String recipient) |
protected OutboundEndpoint |
getRecipientEndpoint(MuleMessage message,
Object recipient) |
protected OutboundEndpoint |
getRecipientEndpointFromString(MuleMessage message,
String recipient) |
protected OutboundEndpoint |
getRecipientEndpointFromUri(EndpointURI uri) |
protected abstract List<Object> |
getRecipients(MuleEvent event) |
Boolean |
getSynchronous() |
boolean |
isDynamicRoutes()
Determines whether this router supports dynamic route.
|
MuleEvent |
route(MuleEvent event) |
void |
setSynchronous(Boolean synchronous) |
addRoute, getFilter, getRoute, getTransformers, initialise, isMatch, isTransformBeforeMatch, isUseTemplates, setFilter, setTransformers, setUseTemplatescloneMessage, cloneMessage, createEventToRoute, dispose, getEnableCorrelation, getMuleContext, getOwnedMessageProcessors, getReplyTo, getResultsHandler, getRoute, getRouterStatistics, getRoutes, getTransactionConfig, process, propagateMagicProperties, removeRoute, sendRequest, sendRequestEvent, setEnableCorrelation, setEnableCorrelationAsString, setMessageProcessors, setMessageProperties, setReplyTo, setResultsHandler, setRouterStatistics, setRoutes, setTransactionConfig, start, stopaddMessageProcessorPathElements, getAnnotation, getAnnotations, getOwnedObjects, setAnnotationsgetFlowConstruct, getMessagingExceptionHandler, setFlowConstruct, setMessagingExceptionHandler, setMuleContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetMuleContextsetFlowConstructpublic MuleEvent route(MuleEvent event) throws RoutingException
route in class FilteringOutboundRouterRoutingExceptionprotected OutboundEndpoint getRecipientEndpoint(MuleMessage message, Object recipient) throws MuleException
MuleExceptionprotected OutboundEndpoint getRecipientEndpointFromUri(EndpointURI uri) throws MuleException
MuleExceptionprotected OutboundEndpoint getRecipientEndpointFromString(MuleMessage message, String recipient) throws MuleException
MuleExceptionprotected OutboundEndpoint buildOutboundEndpoint(String recipient) throws MuleException
MuleExceptionpublic Boolean getSynchronous()
public void setSynchronous(Boolean synchronous)
public boolean isDynamicRoutes()
OutboundRouterisDynamicRoutes in interface OutboundRouterisDynamicRoutes in class AbstractOutboundRouterprotected abstract List<Object> getRecipients(MuleEvent event) throws CouldNotRouteOutboundMessageException
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.