public abstract class AbstractEnvelopeInterceptor extends AbstractInterceptingMessageProcessor 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,
|
MuleEvent |
process(MuleEvent event)
Invoked when the component should be called.
|
void |
setFlowConstruct(FlowConstruct flowConstruct) |
addMessageProcessorPathElements, getAnnotation, getAnnotations, getListener, getMuleContext, isEventValid, processNext, setAnnotations, setListener, setMuleContext, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetListenerprotected 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
MuleExceptionpublic MuleEvent process(MuleEvent event) throws MuleException
Interceptorprocess in interface Interceptorprocess in interface MessageProcessorevent - the event containing info about the current message and serviceMuleExceptionpublic void setFlowConstruct(FlowConstruct flowConstruct)
setFlowConstruct in interface FlowConstructAwareCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.