public abstract class AbstractNonBlockingMessageProcessor extends AbstractAnnotatedObject implements NonBlockingMessageProcessor, MessagingExceptionHandlerAware
NonBlockingMessageProcessor
that determines if processing should
be performed blocking or non-blocking..PROPERTY_NAME
Constructor and Description |
---|
AbstractNonBlockingMessageProcessor() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isNonBlocking(MuleEvent event) |
MuleEvent |
process(MuleEvent event)
Invokes the MessageProcessor.
|
protected abstract MuleEvent |
processBlocking(MuleEvent event) |
protected abstract void |
processNonBlocking(MuleEvent event,
CompletionHandler completionHandler) |
void |
setMessagingExceptionHandler(MessagingExceptionHandler messagingExceptionHandler) |
getAnnotation, getAnnotations, setAnnotations
public MuleEvent process(MuleEvent event) throws MuleException
MessageProcessor
process
in interface MessageProcessor
event
- MuleEvent to be processedMuleException
protected boolean isNonBlocking(MuleEvent event)
public void setMessagingExceptionHandler(MessagingExceptionHandler messagingExceptionHandler)
setMessagingExceptionHandler
in interface MessagingExceptionHandlerAware
protected abstract void processNonBlocking(MuleEvent event, CompletionHandler completionHandler) throws MuleException
MuleException
protected abstract MuleEvent processBlocking(MuleEvent event) throws MuleException
MuleException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.