org.mule.routing.outbound
Class MulticastingRouter
java.lang.Object
org.mule.processor.AbstractMuleObjectOwner<MessageProcessor>
org.mule.processor.AbstractMessageProcessorOwner
org.mule.routing.outbound.AbstractOutboundRouter
org.mule.routing.outbound.FilteringOutboundRouter
org.mule.routing.outbound.AbstractSequenceRouter
org.mule.routing.outbound.MulticastingRouter
- All Implemented Interfaces:
- AnnotatedObject, FlowConstructAware, MuleContextAware, Disposable, Initialisable, Lifecycle, Startable, Stoppable, MessageProcessor, MessageProcessorContainer, MessageRouter, Matchable, MatchableMessageProcessor, MatchableMessageRouter, OutboundRouter, RouterStatisticsRecorder, TransformingMatchable
Deprecated.
@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.
|
Method Summary |
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. |
| Methods inherited from class org.mule.routing.outbound.AbstractOutboundRouter |
cloneMessage, cloneMessage, createEventToRoute, dispose, 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MulticastingRouter
public MulticastingRouter()
- Deprecated.
initialise
public void initialise()
throws InitialisationException
- Deprecated.
- Description copied from interface:
Initialisable
- Method used to perform any initialisation work. If a fatal error occurs during
initialisation an
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.
- Specified by:
initialise in interface Initialisable- Overrides:
initialise in class FilteringOutboundRouter
- Throws:
InitialisationException - if a fatal error occurs causing the Mule instance to shutdown
RecoverableException - if an error occurs that can be recovered from
continueRoutingMessageAfter
protected boolean continueRoutingMessageAfter(MuleEvent response)
throws MuleException
- Deprecated.
- Indicates that this router always routes messages to all the configured
endpoints no matters what a given response is.
- Specified by:
continueRoutingMessageAfter in class AbstractSequenceRouter
- Parameters:
response - the last received response
- Returns:
- true if must continue and false otherwise.
- Throws:
MuleException - when the router should stop processing throwing an
exception without returning any results to the caller.
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.