public class QueuedThreadPerProcessorProcessingStrategy extends QueuedAsynchronousProcessingStrategy
QueueManager
to decouple the processing of each message processor. Each
queue is polled and a WorkManager
is used to schedule processing of the message processors in a new
worker thread.ProcessingStrategy.StageNameSource
maxQueueSize, queueStatistics, queueStore, queueTimeout
synchronousProcessingStrategy
maxBufferSize, maxThreads, minThreads, poolExhaustedAction, threadTTL, threadWaitTimeout
Constructor and Description |
---|
QueuedThreadPerProcessorProcessingStrategy() |
Modifier and Type | Method and Description |
---|---|
void |
configureProcessors(List<MessageProcessor> processors,
StageNameSource nameSource,
MessageProcessorChainBuilder builder,
MuleContext muleContext) |
createAsyncMessageProcessor, getMaxQueueSize, getQueueStatistics, getQueueStore, getQueueTimeout, initQueueStore, setMaxQueueSize, setQueueStatistics, setQueueStore, setQueueTimeout
createThreadingProfile, getMaxBufferSize, getMaxThreads, getMinThreads, getPoolExhaustedAction, getThreadPoolName, getThreadTTL, getThreadWaitTimeout, setMaxBufferSize, setMaxThreads, setMinThreads, setPoolExhaustedAction, setThreadTTL, setThreadWaitTimeout
public QueuedThreadPerProcessorProcessingStrategy()
public void configureProcessors(List<MessageProcessor> processors, StageNameSource nameSource, MessageProcessorChainBuilder builder, MuleContext muleContext)
configureProcessors
in interface ProcessingStrategy
configureProcessors
in class AsynchronousProcessingStrategy
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.