org.mule.interceptor
Class LoggingInterceptor
java.lang.Object
org.mule.processor.AbstractInterceptingMessageProcessorBase
org.mule.processor.AbstractInterceptingMessageProcessor
org.mule.interceptor.AbstractEnvelopeInterceptor
org.mule.interceptor.LoggingInterceptor
- All Implemented Interfaces:
- AnnotatedObject, FlowConstructAware, MuleContextAware, Interceptor, InterceptingMessageProcessor, MessageProcessor, MessageSource
public class LoggingInterceptor
- extends AbstractEnvelopeInterceptor
LoggingInterceptor
is a simple interceptor that logs a message before
and after the event processing.
LoggingInterceptor
public LoggingInterceptor()
before
public MuleEvent before(MuleEvent event)
- Description copied from class:
AbstractEnvelopeInterceptor
- This method is invoked before the event is processed
- Specified by:
before
in class AbstractEnvelopeInterceptor
after
public MuleEvent after(MuleEvent event)
- 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
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-2012 MuleSoft, Inc.. All Rights Reserved.