org.mule.construct
Class SimpleFlowConstruct
java.lang.Object
org.mule.construct.AbstractFlowConstruct
org.mule.construct.SimpleFlowConstruct
- All Implemented Interfaces:
- FlowConstruct, Disposable, Initialisable, Lifecycle, LifecycleStateEnabled, Startable, Stoppable, MessageProcessor
- Direct Known Subclasses:
- IBeanFlowConstruct
public class SimpleFlowConstruct
- extends AbstractFlowConstruct
Simple implementation of AbstractFlowConstruct
that allows a list of
MessageProcessor
s that will be used to process messages to be configured.
These MessageProcessors are chained together using the
InterceptingChainMessageProcessorBuilder
.
If not message processors are configured then the source message is simply
returned.
Methods inherited from class org.mule.construct.AbstractFlowConstruct |
createMessageProcessor, dispose, doDispose, doInitialise, doStart, doStop, getExceptionListener, getLifecycleState, getMessageInfoMapping, getMessageSource, getMuleContext, getName, getStatistics, initialise, isStarted, isStopped, isStopping, process, setExceptionListener, setMessageInfoMapping, setMessageSource, start, stop, toString, validateConstruct |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
messageProcessors
protected java.util.List<MessageProcessor> messageProcessors
threadingProfile
protected ThreadingProfile threadingProfile
workManager
protected WorkManager workManager
SimpleFlowConstruct
public SimpleFlowConstruct(java.lang.String name,
MuleContext muleContext)
configureMessageProcessors
protected void configureMessageProcessors(InterceptingChainMessageProcessorBuilder builder)
- Description copied from class:
AbstractFlowConstruct
- Used to configure the processing chain for this
FlowConstuct
MessageProcessor
s to the chain using the builder provided.
To use a different builder of to construct a composite
MessageProcessor
manually override AbstractFlowConstruct.createMessageProcessor()
instead.
- Specified by:
configureMessageProcessors
in class AbstractFlowConstruct
- Parameters:
builder
- instance of InterceptingChainMessageProcessorBuilder
getThreadingProfile
public ThreadingProfile getThreadingProfile()
setThreadingProfile
public void setThreadingProfile(ThreadingProfile threadingProfile)
setMessageProcessors
public void setMessageProcessors(java.util.List<MessageProcessor> messageProcessors)
getMessageProcessors
public java.util.List<MessageProcessor> getMessageProcessors()
setEndpoint
@Deprecated
public void setEndpoint(InboundEndpoint endpoint)
- Deprecated.
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.