Message will only be received from endpoints if the connector is also started.
log
protected static final Log log
listener
protected MessageProcessor listener
started
protected edu.emory.mathcs.backport.java.util.concurrent.atomic.AtomicBoolean started
sources
protected final List<MessageSource> sources
starting
protected edu.emory.mathcs.backport.java.util.concurrent.atomic.AtomicBoolean starting
flowConstruct
protected FlowConstruct flowConstruct
StartableCompositeMessageSource
public StartableCompositeMessageSource()
addSource
public void addSource(MessageSource source)
throws MuleException
- Specified by:
addSource in interface CompositeMessageSource
- Throws:
MuleException
removeSource
public void removeSource(MessageSource source)
throws MuleException
- Specified by:
removeSource in interface CompositeMessageSource
- Throws:
MuleException
setMessageSources
public void setMessageSources(List<MessageSource> sources)
throws MuleException
- Throws:
MuleException
start
public void start()
throws MuleException
- Specified by:
start in interface Startable
- Throws:
MuleException
stop
public void stop()
throws MuleException
- Specified by:
stop in interface Stoppable
- Throws:
MuleException
setListener
public void setListener(MessageProcessor listener)
- Description copied from interface:
MessageSource
- Set the MessageProcessor listener on a message source which will be invoked
when a message is received or generated.
- Specified by:
setListener in interface MessageSource
setFlowConstruct
public void setFlowConstruct(FlowConstruct pattern)
- Specified by:
setFlowConstruct in interface FlowConstructAware
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.