public abstract class AbstractEnvelopeInterceptor extends AbstractRequestResponseMessageProcessor implements Interceptor
EnvelopeInterceptor is an intercepter that will fire before and after an event is received.ReactiveProcessor.ProcessingTypeflowConstruct, logger, muleContext, next| Constructor and Description |
|---|
AbstractEnvelopeInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
abstract Event |
after(Event event)
This method is invoked after the event has been processed, unless an exception was thrown
|
abstract Event |
before(Event event)
This method is invoked before the event is processed
|
abstract Event |
last(Event event,
ProcessingTime time,
long startTime,
boolean exceptionWasThrown)
This method is always invoked after the event has been processed,
|
Event |
process(Event event)
Invokes the MessageProcessor.
|
apply, processCatch, processFinally, processRequest, processRequest, processResponse, processResponseapplyNext, getListener, getMuleContext, isEventValid, processNext, setFlowConstruct, setListener, setMuleContext, toStringgetAnnotation, getAnnotations, getLocation, setAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetListenergetProcessingTypepublic abstract Event before(Event event) throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionpublic abstract Event after(Event event) throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionpublic abstract Event last(Event event, ProcessingTime time, long startTime, boolean exceptionWasThrown) throws org.mule.runtime.api.exception.MuleException
org.mule.runtime.api.exception.MuleExceptionpublic Event process(Event event) throws org.mule.runtime.api.exception.MuleException
Processorprocess in interface Interceptorprocess in interface Processorprocess in class AbstractRequestResponseMessageProcessorevent - MuleEvent to be processedorg.mule.runtime.api.exception.MuleException - if the invocation failsCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.