public interface Flow extends org.mule.runtime.api.meta.AnnotatedObject, org.mule.runtime.api.lifecycle.Lifecycle, Pipeline, Processor
Pipeline that represents a Mule flow.
A flow adds the following behaviour to a Pipeline
ProcessingStrategy that determines how message processors are processed.
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Flow.Builder |
ReactiveProcessor.ProcessingType| Modifier and Type | Field and Description |
|---|---|
static String |
INITIAL_STATE_STARTED |
static String |
INITIAL_STATE_STOPPED |
| Modifier and Type | Method and Description |
|---|---|
static Flow.Builder |
builder(String name,
MuleContext muleContext)
Creates a new flow builder
|
String |
getInitialState() |
getAnnotation, getAnnotations, getLocation, setAnnotationsgetMessageProcessors, getMessageSource, getProcessingStrategy, getProcessingStrategyFactory, getSerializationEventContextCache, setMessageProcessors, setMessageSource, setProcessingStrategyFactorygetExceptionListener, getMuleContext, getServerId, getStatistics, getUniqueIdStringgetLifecycleStateisSynchronousgetProcessingTypestatic final String INITIAL_STATE_STOPPED
static final String INITIAL_STATE_STARTED
String getInitialState()
static Flow.Builder builder(String name, MuleContext muleContext)
name - name of the flow to be created. Non empty.muleContext - context where the flow will be registered. Non null.Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.