public class TimerInterceptor extends AbstractInterceptingMessageProcessor implements Interceptor
TimerInterceptor simply times and displays the time taken to process an event.ReactiveProcessor.ProcessingTypeflowConstruct, muleContext, next| Constructor and Description |
|---|
TimerInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
Event |
process(Event event)
Invoked when the component should be called.
|
applyNext, getListener, getMuleContext, isEventValid, processNext, setFlowConstruct, setListener, setMuleContext, toStringgetAnnotation, getAnnotations, getLocation, setAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetListenergetProcessingTypepublic Event process(Event event) throws org.mule.runtime.api.exception.MuleException
Interceptorprocess in interface Interceptorprocess in interface Processorevent - the event containing info about the current message and serviceorg.mule.runtime.api.exception.MuleException - if the invocation failsCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.