public class DirectStreamPerThreadProcessingStrategyFactory extends Object implements ProcessingStrategyFactory
Pipeline in the caller thread and does not schedule the processing of any
Processor in a different thread pool regardless of their ReactiveProcessor.ProcessingType. While processing of the flow is
carried out in the caller thread, when a Processor implements non-blocking behaviour then processing will continue in a
Processor thread.
This implementation offers an optimization over DirectProcessingStrategyFactory by reusing a single stream instance for
each callee thread.| Modifier and Type | Field and Description |
|---|---|
static ProcessingStrategy |
DIRECT_STREAM_PER_THREAD_PROCESSING_STRATEGY_INSTANCE |
| Constructor and Description |
|---|
DirectStreamPerThreadProcessingStrategyFactory() |
| Modifier and Type | Method and Description |
|---|---|
ProcessingStrategy |
create(MuleContext muleContext,
String schedulersNamePrefix) |
public static final ProcessingStrategy DIRECT_STREAM_PER_THREAD_PROCESSING_STRATEGY_INSTANCE
public DirectStreamPerThreadProcessingStrategyFactory()
public ProcessingStrategy create(MuleContext muleContext, String schedulersNamePrefix)
create in interface ProcessingStrategyFactoryProcessingStrategy.Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.