org.mule.service
Class ServiceCompositeMessageSource

java.lang.Object
  extended by org.mule.source.StartableCompositeMessageSource
      extended by org.mule.service.ServiceCompositeMessageSource
All Implemented Interfaces:
FlowConstructAware, MuleContextAware, Disposable, Initialisable, Lifecycle, Startable, Stoppable, RouterStatisticsRecorder, CompositeMessageSource, MessageSource
Direct Known Subclasses:
ServiceAsyncReplyCompositeMessageSource

Deprecated.

@Deprecated
public class ServiceCompositeMessageSource
extends StartableCompositeMessageSource
implements Initialisable, RouterStatisticsRecorder

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

processors

protected List<MessageProcessor> processors
Deprecated. 

statistics

protected RouterStatistics statistics
Deprecated. 

endpoints

protected List<InboundEndpoint> endpoints
Deprecated. 

catchAllStrategy

protected MessageProcessor catchAllStrategy
Deprecated. 
Constructor Detail

ServiceCompositeMessageSource

public ServiceCompositeMessageSource()
Deprecated. 
Method Detail

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 StartableCompositeMessageSource
Throws:
InitialisationException - if a fatal error occurs causing the Mule instance to shutdown
RecoverableException - if an error occurs that can be recovered from

dispose

public void dispose()
Deprecated. 
Description copied from interface: Disposable
A lifecycle method where implementor should free up any resources. If an exception is thrown it should just be logged and processing should continue. This method should not throw Runtime exceptions.

Specified by:
dispose in interface Disposable
Overrides:
dispose in class StartableCompositeMessageSource

createMessageProcessorChain

protected void createMessageProcessorChain()
                                    throws MuleException
Deprecated. 
Throws:
MuleException

start

public void start()
           throws MuleException
Deprecated. 
Specified by:
start in interface Startable
Overrides:
start in class StartableCompositeMessageSource
Throws:
MuleException

stop

public void stop()
          throws MuleException
Deprecated. 
Specified by:
stop in interface Stoppable
Overrides:
stop in class StartableCompositeMessageSource
Throws:
MuleException

setMessageProcessors

public void setMessageProcessors(List<MessageProcessor> processors)
Deprecated. 

addMessageProcessor

public void addMessageProcessor(MessageProcessor processor)
Deprecated. 

addSource

public void addSource(MessageSource source)
               throws MuleException
Deprecated. 
Specified by:
addSource in interface CompositeMessageSource
Overrides:
addSource in class StartableCompositeMessageSource
Throws:
MuleException

removeSource

public void removeSource(MessageSource source)
                  throws MuleException
Deprecated. 
Specified by:
removeSource in interface CompositeMessageSource
Overrides:
removeSource in class StartableCompositeMessageSource
Throws:
MuleException

setMessageSources

public void setMessageSources(List<MessageSource> sources)
                       throws MuleException
Deprecated. 
Overrides:
setMessageSources in class StartableCompositeMessageSource
Throws:
MuleException

getEndpoints

public List<InboundEndpoint> getEndpoints()
Deprecated. 

getMessageProcessors

public List<MessageProcessor> getMessageProcessors()
Deprecated. 

getRouterStatistics

public RouterStatistics getRouterStatistics()
Deprecated. 

setRouterStatistics

public void setRouterStatistics(RouterStatistics statistics)
Deprecated. 
Specified by:
setRouterStatistics in interface RouterStatisticsRecorder

getEndpoint

public InboundEndpoint getEndpoint(String name)
Deprecated. 

setCatchAllStrategy

public void setCatchAllStrategy(MessageProcessor catchAllStrategy)
Deprecated. 

getCatchAllStrategy

public MessageProcessor getCatchAllStrategy()
Deprecated. 


Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.