org.mule.interceptor
Class TimerInterceptor
java.lang.Object
org.mule.processor.AbstractInterceptingMessageProcessorBase
org.mule.processor.AbstractInterceptingMessageProcessor
org.mule.interceptor.TimerInterceptor
- All Implemented Interfaces:
- AnnotatedObject, MuleContextAware, Interceptor, InterceptingMessageProcessor, MessageProcessor, MessageSource
public class TimerInterceptor
- extends AbstractInterceptingMessageProcessor
- implements Interceptor
TimerInterceptor
simply times and displays the time taken to process
an event.
TimerInterceptor
public TimerInterceptor()
process
public MuleEvent process(MuleEvent event)
throws MuleException
- Description copied from interface:
Interceptor
- Invoked when the component should be called. The implementation can call
next.process(event) to call the component or the next filer in the chain.
- Specified by:
process
in interface Interceptor
- Specified by:
process
in interface MessageProcessor
- Parameters:
event
- the event containing info about the current message and service
- Returns:
- A result message that may have been altered by this invocation
- Throws:
MuleException
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.