public abstract class AbstractEnvelopeInterceptor extends AbstractRequestResponseMessageProcessor implements Interceptor, FlowConstructAware
EnvelopeInterceptor is an intercepter that will fire before and after
an event is received.| Modifier and Type | Field and Description |
|---|---|
protected FlowConstruct |
flowConstruct |
logger, muleContext, next, notificationHandlerPROPERTY_NAME| Constructor and Description |
|---|
AbstractEnvelopeInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
abstract MuleEvent |
after(MuleEvent event)
This method is invoked after the event has been processed, unless an exception was thrown
|
abstract MuleEvent |
before(MuleEvent event)
This method is invoked before the event is processed
|
abstract MuleEvent |
last(MuleEvent event,
ProcessingTime time,
long startTime,
boolean exceptionWasThrown)
This method is always invoked after the event has been processed,
|
protected MuleEvent |
processBlocking(MuleEvent event) |
protected MuleEvent |
processNonBlocking(MuleEvent event) |
void |
setFlowConstruct(FlowConstruct flowConstruct) |
createReplyToHandler, process, processFinally, processRequest, processResponseaddMessageProcessorPathElements, getListener, getMuleContext, isEventValid, processNext, setListener, setMuleContext, toStringgetAnnotation, getAnnotations, setAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprocesssetListenerprotected FlowConstruct flowConstruct
public abstract MuleEvent before(MuleEvent event) throws MuleException
MuleExceptionpublic abstract MuleEvent after(MuleEvent event) throws MuleException
MuleExceptionpublic abstract MuleEvent last(MuleEvent event, ProcessingTime time, long startTime, boolean exceptionWasThrown) throws MuleException
MuleExceptionprotected MuleEvent processBlocking(MuleEvent event) throws MuleException
processBlocking in class AbstractRequestResponseMessageProcessorMuleExceptionprotected MuleEvent processNonBlocking(MuleEvent event) throws MuleException
processNonBlocking in class AbstractRequestResponseMessageProcessorMuleExceptionpublic void setFlowConstruct(FlowConstruct flowConstruct)
setFlowConstruct in interface FlowConstructAwareCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.