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
MessageProcessors 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 |
messageProcessors
protected List<MessageProcessor> messageProcessors
SimpleFlowConstruct
public SimpleFlowConstruct(String name,
MuleContext muleContext)
setMessageProcessors
public void setMessageProcessors(List<MessageProcessor> messageProcessors)
getMessageProcessors
public List<MessageProcessor> getMessageProcessors()
configureMessageProcessors
protected void configureMessageProcessors(InterceptingChainMessageProcessorBuilder builder)
- Description copied from class:
AbstractFlowConstruct
- Used to configure the processing chain for this
FlowConstuctMessageProcessors 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
setEndpoint
@Deprecated
public void setEndpoint(InboundEndpoint endpoint)
- Deprecated.
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.