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, notificationHandler
PROPERTY_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, processResponse, processResponse
addMessageProcessorPathElements, getListener, getMuleContext, isEventValid, processNext, setListener, setMuleContext, toString
getAnnotation, getAnnotations, setAnnotations
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
process
setListener
protected FlowConstruct flowConstruct
public abstract MuleEvent before(MuleEvent event) throws MuleException
MuleException
public abstract MuleEvent after(MuleEvent event) throws MuleException
MuleException
public abstract MuleEvent last(MuleEvent event, ProcessingTime time, long startTime, boolean exceptionWasThrown) throws MuleException
MuleException
protected MuleEvent processBlocking(MuleEvent event) throws MuleException
processBlocking
in class AbstractRequestResponseMessageProcessor
MuleException
protected MuleEvent processNonBlocking(MuleEvent event) throws MuleException
processNonBlocking
in class AbstractRequestResponseMessageProcessor
MuleException
public void setFlowConstruct(FlowConstruct flowConstruct)
setFlowConstruct
in interface FlowConstructAware
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.