org.mule.processor.strategy
Class QueuedThreadPerProcessorProcessingStrategy
java.lang.Object
org.mule.processor.strategy.AsynchronousProcessingStrategy
org.mule.processor.strategy.QueuedAsynchronousProcessingStrategy
org.mule.processor.strategy.QueuedThreadPerProcessorProcessingStrategy
- All Implemented Interfaces:
- ProcessingStrategy, QueueStatisticsAware
public class QueuedThreadPerProcessorProcessingStrategy
- extends QueuedAsynchronousProcessingStrategy
This strategy uses the 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.
Methods inherited from class org.mule.processor.strategy.AsynchronousProcessingStrategy |
createThreadingProfile, getMaxBufferSize, getMaxThreads, getMinThreads, getPoolExhaustedAction, getThreadPoolName, getThreadTTL, getThreadWaitTimeout, setMaxBufferSize, setMaxThreads, setMinThreads, setPoolExhaustedAction, setThreadTTL, setThreadWaitTimeout |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueuedThreadPerProcessorProcessingStrategy
public QueuedThreadPerProcessorProcessingStrategy()
configureProcessors
public void configureProcessors(List<MessageProcessor> processors,
ProcessingStrategy.StageNameSource nameSource,
MessageProcessorChainBuilder builder,
MuleContext muleContext)
- Specified by:
configureProcessors
in interface ProcessingStrategy
- Overrides:
configureProcessors
in class AsynchronousProcessingStrategy
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.