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