public class LoggingInterceptor extends AbstractEnvelopeInterceptor
LoggingInterceptor
is a simple interceptor that logs a message before
and after the event processing.flowConstruct
muleContext, next, notificationHandler
PROPERTY_NAME
Constructor and Description |
---|
LoggingInterceptor() |
Modifier and Type | Method and Description |
---|---|
MuleEvent |
after(MuleEvent event)
This method is invoked after the event has been processed, unless an exception was thrown
|
MuleEvent |
before(MuleEvent event)
This method is invoked before the event is processed
|
MuleEvent |
last(MuleEvent event,
ProcessingTime time,
long startTime,
boolean exceptionWasThrown)
This method is always invoked after the event has been processed,
|
processBlocking, processNonBlocking, setFlowConstruct
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
public MuleEvent before(MuleEvent event)
AbstractEnvelopeInterceptor
before
in class AbstractEnvelopeInterceptor
public MuleEvent after(MuleEvent event)
AbstractEnvelopeInterceptor
after
in class AbstractEnvelopeInterceptor
public MuleEvent last(MuleEvent event, ProcessingTime time, long startTime, boolean exceptionWasThrown) throws MuleException
AbstractEnvelopeInterceptor
last
in class AbstractEnvelopeInterceptor
MuleException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.