@Deprecated public class ServiceCompositeMessageSource extends StartableCompositeMessageSource implements Initialisable, RouterStatisticsRecorder
StartableCompositeMessageSource which adds message processors between the composite
source and the target listener| Modifier and Type | Field and Description |
|---|---|
protected MessageProcessor |
catchAllStrategy
Deprecated.
|
protected List<InboundEndpoint> |
endpoints
Deprecated.
|
protected List<MessageProcessor> |
processors
Deprecated.
|
protected RouterStatistics |
statistics
Deprecated.
|
flowConstruct, initialised, listener, log, muleContext, sources, started, startingPHASE_NAMEPHASE_NAMEPHASE_NAMEPHASE_NAME| Constructor and Description |
|---|
ServiceCompositeMessageSource()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addMessageProcessor(MessageProcessor processor)
Deprecated.
|
void |
addSource(MessageSource source)
Deprecated.
|
protected void |
createMessageProcessorChain()
Deprecated.
|
void |
dispose()
Deprecated.
A lifecycle method where implementor should free up any resources.
|
MessageProcessor |
getCatchAllStrategy()
Deprecated.
|
InboundEndpoint |
getEndpoint(String name)
Deprecated.
|
List<InboundEndpoint> |
getEndpoints()
Deprecated.
|
List<MessageProcessor> |
getMessageProcessors()
Deprecated.
|
RouterStatistics |
getRouterStatistics()
Deprecated.
|
void |
initialise()
Deprecated.
Method used to perform any initialisation work.
|
void |
removeSource(MessageSource source)
Deprecated.
|
void |
setCatchAllStrategy(MessageProcessor catchAllStrategy)
Deprecated.
|
void |
setMessageProcessors(List<MessageProcessor> processors)
Deprecated.
|
void |
setMessageSources(List<MessageSource> sources)
Deprecated.
|
void |
setRouterStatistics(RouterStatistics statistics)
Deprecated.
|
void |
start()
Deprecated.
|
void |
stop()
Deprecated.
|
getSources, setFlowConstruct, setListener, setMuleContext, toStringprotected List<MessageProcessor> processors
protected RouterStatistics statistics
protected List<InboundEndpoint> endpoints
protected MessageProcessor catchAllStrategy
public void initialise()
throws InitialisationException
InitialisableInitialisationException 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 Initialisableinitialise in class StartableCompositeMessageSourceInitialisationException - if a fatal error occurs causing the Mule instance to shutdownRecoverableException - if an error occurs that can be recovered frompublic void dispose()
Disposabledispose in interface Disposabledispose in class StartableCompositeMessageSourceprotected void createMessageProcessorChain()
throws MuleException
MuleExceptionpublic void start()
throws MuleException
start in interface Startablestart in class StartableCompositeMessageSourceMuleExceptionpublic void stop()
throws MuleException
stop in interface Stoppablestop in class StartableCompositeMessageSourceMuleExceptionpublic void setMessageProcessors(List<MessageProcessor> processors)
public void addMessageProcessor(MessageProcessor processor)
public void addSource(MessageSource source) throws MuleException
addSource in interface CompositeMessageSourceaddSource in class StartableCompositeMessageSourceMuleExceptionpublic void removeSource(MessageSource source) throws MuleException
removeSource in interface CompositeMessageSourceremoveSource in class StartableCompositeMessageSourceMuleExceptionpublic void setMessageSources(List<MessageSource> sources) throws MuleException
setMessageSources in class StartableCompositeMessageSourceMuleExceptionpublic List<InboundEndpoint> getEndpoints()
public List<MessageProcessor> getMessageProcessors()
public RouterStatistics getRouterStatistics()
public void setRouterStatistics(RouterStatistics statistics)
setRouterStatistics in interface RouterStatisticsRecorderpublic InboundEndpoint getEndpoint(String name)
public void setCatchAllStrategy(MessageProcessor catchAllStrategy)
public MessageProcessor getCatchAllStrategy()
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.