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, getListener, getMuleContext, isEventValid, processNext, setListener, setMuleContext, toString
getAnnotation, getAnnotations, setAnnotations
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.