@Deprecated public class MulticastingRouter extends AbstractSequenceRouter
MulticastingRouter
will broadcast the current message to every endpoint
registered with the router.
This class is deprecated since 3.5.0 and will be removed in Mule 4.0. Please use
ScatterGatherRouter
instead.expressionManager
enableCorrelation, initialised, replyTo, resultsHandler, routes, started, transactionConfig
flowConstruct, messagingExceptionHandler, muleContext
PHASE_NAME
PHASE_NAME
PHASE_NAME
PHASE_NAME
PROPERTY_NAME
Constructor and Description |
---|
MulticastingRouter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
continueRoutingMessageAfter(MuleEvent response)
Deprecated.
Indicates that this router always routes messages to all the configured
endpoints no matters what a given response is.
|
void |
initialise()
Deprecated.
Method used to perform any initialisation work.
|
route
addRoute, getFilter, getRoute, getTransformers, isMatch, isTransformBeforeMatch, isUseTemplates, setFilter, setTransformers, setUseTemplates
cloneMessage, cloneMessage, createEventToRoute, dispose, doProcessRoute, getEnableCorrelation, getMuleContext, getOwnedMessageProcessors, getReplyTo, getResultsHandler, getRoute, getRouterStatistics, getRoutes, getTransactionConfig, isDynamicRoutes, process, propagateMagicProperties, removeRoute, sendRequest, sendRequestEvent, setEnableCorrelation, setEnableCorrelationAsString, setMessageProcessors, setMessageProperties, setReplyTo, setResultsHandler, setRouterStatistics, setRoutes, setTransactionConfig, start, stop
addMessageProcessorPathElements, getAnnotation, getAnnotations, getOwnedObjects, setAnnotations
getFlowConstruct, getMessagingExceptionHandler, setFlowConstruct, setMessagingExceptionHandler, setMuleContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setMuleContext
setFlowConstruct
public void initialise() throws InitialisationException
Initialisable
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.initialise
in interface Initialisable
initialise
in class FilteringOutboundRouter
InitialisationException
- if a fatal error occurs causing the Mule instance to shutdownRecoverableException
- if an error occurs that can be recovered fromprotected boolean continueRoutingMessageAfter(MuleEvent response) throws MuleException
continueRoutingMessageAfter
in class AbstractSequenceRouter
response
- the last received responseMuleException
- when the router should stop processing throwing an
exception without returning any results to the caller.Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.