org.mule.processor
Class OptionalAsyncInterceptingMessageProcessor
java.lang.Object
org.mule.processor.AbstractInterceptingMessageProcessor
org.mule.processor.AsyncInterceptingMessageProcessor
org.mule.processor.OptionalAsyncInterceptingMessageProcessor
- All Implemented Interfaces:
- MuleContextAware, Startable, Stoppable, InterceptingMessageProcessor, MessageProcessor, MessageSource
- Direct Known Subclasses:
- SedaStageInterceptingMessageProcessor
public class OptionalAsyncInterceptingMessageProcessor
- extends AsyncInterceptingMessageProcessor
Implementation of AsyncInterceptingMessageProcessor
which continues
processing in the same thread if the inbound endpoint has an exchange pattern that
has a response or if a transaction is present. Execution of the next message
processor is only passed off to another thread if this is not the case.
OptionalAsyncInterceptingMessageProcessor
public OptionalAsyncInterceptingMessageProcessor(WorkManagerSource workManagerSource)
OptionalAsyncInterceptingMessageProcessor
@Deprecated
public OptionalAsyncInterceptingMessageProcessor(WorkManagerSource workManagerSource,
boolean doThreading)
- Deprecated.
OptionalAsyncInterceptingMessageProcessor
public OptionalAsyncInterceptingMessageProcessor(ThreadingProfile threadingProfile,
String name,
int shutdownTimeout)
isProcessAsync
protected boolean isProcessAsync(MuleEvent event)
throws MessagingException
- Overrides:
isProcessAsync
in class AsyncInterceptingMessageProcessor
- Throws:
MessagingException
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.