public class TimerInterceptor extends AbstractInterceptingMessageProcessor implements Interceptor
TimerInterceptor simply times and displays the time taken to process
an event.muleContext, next, notificationHandlerPROPERTY_NAME| Constructor and Description |
|---|
TimerInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
MuleEvent |
process(MuleEvent event)
Invoked when the component should be called.
|
addMessageProcessorPathElements, getListener, getMuleContext, isEventValid, processNext, setListener, setMuleContext, toStringgetAnnotation, getAnnotations, setAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetListenerpublic MuleEvent process(MuleEvent event) throws MuleException
Interceptorprocess in interface Interceptorprocess in interface MessageProcessorevent - the event containing info about the current message and serviceMuleExceptionCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.