|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mule.source.StartableCompositeMessageSource
org.mule.service.ServiceCompositeMessageSource
@Deprecated public class ServiceCompositeMessageSource
Extension of StartableCompositeMessageSource which adds message processors between the composite
source and the target listener
| Field Summary | |
|---|---|
protected MessageProcessor |
catchAllStrategy
Deprecated. |
protected List<InboundEndpoint> |
endpoints
Deprecated. |
protected List<MessageProcessor> |
processors
Deprecated. |
protected RouterStatistics |
statistics
Deprecated. |
| Fields inherited from class org.mule.source.StartableCompositeMessageSource |
|---|
flowConstruct, initialised, listener, log, muleContext, sources, started, starting |
| Fields inherited from interface org.mule.api.lifecycle.Initialisable |
|---|
PHASE_NAME |
| Fields inherited from interface org.mule.api.lifecycle.Startable |
|---|
PHASE_NAME |
| Fields inherited from interface org.mule.api.lifecycle.Stoppable |
|---|
PHASE_NAME |
| Fields inherited from interface org.mule.api.lifecycle.Disposable |
|---|
PHASE_NAME |
| Constructor Summary | |
|---|---|
ServiceCompositeMessageSource()
Deprecated. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.mule.source.StartableCompositeMessageSource |
|---|
getSources, setFlowConstruct, setListener, setMuleContext, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected List<MessageProcessor> processors
protected RouterStatistics statistics
protected List<InboundEndpoint> endpoints
protected MessageProcessor catchAllStrategy
| Constructor Detail |
|---|
public ServiceCompositeMessageSource()
| Method Detail |
|---|
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 shutdown
RecoverableException - if an error occurs that can be recovered frompublic void dispose()
Disposable
dispose in interface Disposabledispose in class StartableCompositeMessageSource
protected void createMessageProcessorChain()
throws MuleException
MuleException
public void start()
throws MuleException
start in interface Startablestart in class StartableCompositeMessageSourceMuleException
public 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 StartableCompositeMessageSourceMuleException
public void removeSource(MessageSource source)
throws MuleException
removeSource in interface CompositeMessageSourceremoveSource in class StartableCompositeMessageSourceMuleException
public 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||