org.mule.interceptor
Class ProcessingTimeInterceptor
java.lang.Object
org.mule.processor.AbstractInterceptingMessageProcessorBase
org.mule.processor.AbstractInterceptingMessageProcessor
org.mule.interceptor.AbstractEnvelopeInterceptor
org.mule.interceptor.ProcessingTimeInterceptor
- All Implemented Interfaces:
- AnnotatedObject, FlowConstructAware, MuleContextAware, Interceptor, InterceptingMessageProcessor, MessageProcessor, MessageProcessorContainer, MessageSource
public class ProcessingTimeInterceptor
- extends AbstractEnvelopeInterceptor
Calculate and record the processing time for a message processing chain
Methods inherited from class org.mule.processor.AbstractInterceptingMessageProcessorBase |
addMessageProcessorPathElements, getAnnotation, getAnnotations, getListener, getMuleContext, isEventValid, processNext, setAnnotations, setListener, setMuleContext, toString |
ProcessingTimeInterceptor
public ProcessingTimeInterceptor()
ProcessingTimeInterceptor
public ProcessingTimeInterceptor(MessageProcessor next,
FlowConstruct fc)
before
public MuleEvent before(MuleEvent event)
throws MuleException
- Description copied from class:
AbstractEnvelopeInterceptor
- This method is invoked before the event is processed
- Specified by:
before
in class AbstractEnvelopeInterceptor
- Throws:
MuleException
after
public MuleEvent after(MuleEvent event)
throws MuleException
- Description copied from class:
AbstractEnvelopeInterceptor
- This method is invoked after the event has been processed, unless an exception was thrown
- Specified by:
after
in class AbstractEnvelopeInterceptor
- Throws:
MuleException
last
public MuleEvent last(MuleEvent event,
ProcessingTime time,
long startTime,
boolean exceptionWasThrown)
throws MuleException
- Description copied from class:
AbstractEnvelopeInterceptor
- This method is always invoked after the event has been processed,
- Specified by:
last
in class AbstractEnvelopeInterceptor
- Throws:
MuleException
Copyright © 2003-2014 MuleSoft, Inc.. All Rights Reserved.