public static class DefaultFlowBuilder.DefaultFlow extends AbstractPipeline implements Flow
FlowFlow.BuilderReactiveProcessor.ProcessingTypemessageProcessors, messageSource, pipeline, processingStrategy, processingStrategyFactory, schedulerService, sink, streamingManagerexceptionListener, initialState, LOGGER, muleContext, name, statisticsINITIAL_STATE_STARTED, INITIAL_STATE_STOPPED| Modifier | Constructor and Description |
|---|---|
protected |
DefaultFlow(String name,
MuleContext muleContext) |
| Modifier and Type | Method and Description |
|---|---|
org.reactivestreams.Publisher<Event> |
apply(org.reactivestreams.Publisher<Event> publisher)
Applies a
Publisher function transforming a stream of Event's. |
protected void |
configurePostProcessors(MessageProcessorChainBuilder builder) |
protected void |
configurePreProcessors(MessageProcessorChainBuilder builder) |
protected void |
configureStatistics() |
protected ProcessingStrategyFactory |
createDefaultProcessingStrategyFactory()
A fallback method for creating a
ProcessingStrategyFactory to be used in case the user hasn't specified one through
either AbstractPipeline.setProcessingStrategyFactory(ProcessingStrategyFactory), through
MuleConfiguration.getDefaultProcessingStrategyFactory() or the
MuleProperties.MULE_DEFAULT_PROCESSING_STRATEGY system property |
String |
getConstructType() |
boolean |
isSynchronous()
Whether the processing represented by this instance is synchronous or not
|
Event |
process(Event event)
Invokes the MessageProcessor.
|
assertStarted, configureMessageProcessors, createPipeline, doDispose, doInitialise, doStart, doStop, getMessageProcessors, getMessageSource, getProcessingStrategy, getProcessingStrategyFactory, getSerializationEventContextCache, isRedeliveryPolicyConfigured, processFlowFunction, setMessageProcessors, setMessageSource, setProcessingStrategyFactory, useBlockingCodePathdispose, disposeIfDisposable, getExceptionListener, getInitialState, getLifecycleState, getMuleContext, getName, getServerId, getStatistics, getUniqueIdString, initialise, initialiseIfInitialisable, injectExceptionHandler, injectFlowConstructMuleContext, isStarted, isStopped, isStopping, setExceptionListener, setInitialState, start, startIfStartable, stop, stopIfStoppable, toString, validateConstructgetAnnotation, getAnnotations, getLocation, setAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbuilder, getInitialStategetAnnotation, getAnnotations, getLocation, setAnnotationsgetMessageProcessors, getMessageSource, getProcessingStrategy, getProcessingStrategyFactory, getSerializationEventContextCache, setMessageProcessors, setMessageSource, setProcessingStrategyFactorygetExceptionListener, getMuleContext, getServerId, getStatistics, getUniqueIdStringgetLifecycleStategetProcessingTypeprotected DefaultFlow(String name, MuleContext muleContext)
public Event process(Event event) throws org.mule.runtime.api.exception.MuleException
Processorpublic org.reactivestreams.Publisher<Event> apply(org.reactivestreams.Publisher<Event> publisher)
ProcessorPublisher function transforming a stream of Event's.
The default implementation delegates to Processor.process(Event) and will:
Processor.process(Event) returns null.protected void configurePreProcessors(MessageProcessorChainBuilder builder) throws org.mule.runtime.api.exception.MuleException
configurePreProcessors in class AbstractPipelineorg.mule.runtime.api.exception.MuleExceptionprotected void configurePostProcessors(MessageProcessorChainBuilder builder) throws org.mule.runtime.api.exception.MuleException
configurePostProcessors in class AbstractPipelineorg.mule.runtime.api.exception.MuleExceptionprotected ProcessingStrategyFactory createDefaultProcessingStrategyFactory()
ProcessingStrategyFactory to be used in case the user hasn't specified one through
either AbstractPipeline.setProcessingStrategyFactory(ProcessingStrategyFactory), through
MuleConfiguration.getDefaultProcessingStrategyFactory() or the
MuleProperties.MULE_DEFAULT_PROCESSING_STRATEGY system propertycreateDefaultProcessingStrategyFactory in class AbstractPipelineProcessingStrategyFactorypublic String getConstructType()
getConstructType in class AbstractFlowConstructprotected void configureStatistics()
configureStatistics in class AbstractFlowConstructpublic boolean isSynchronous()
ProcessingDescriptorisSynchronous in interface ProcessingDescriptorisSynchronous in class AbstractPipelineCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.