org.mule.processor
Class AbstractMessageObserver
java.lang.Object
org.mule.processor.AbstractMessageObserver
- All Implemented Interfaces:
- MessageProcessor
- Direct Known Subclasses:
- FlowConstructStatisticsMessageObserver, InboundLoggingMessageProcessor, InboundNotificationMessageProcessor, OutboundLoggingMessageProcessor, OutboundNotificationMessageProcessor, ServiceLoggingMessageObserver, ServiceOutboundStatisticsObserver, ServiceSetEventRequestContextMessageObserver, ServiceStatisticsMessageObserver, WireTap
public abstract class AbstractMessageObserver
- extends Object
- implements MessageProcessor
Can be used for simple MessageProcessors that require the
MuleEvent to log or send notifications etc. but don't modify it in any way
or pass it on to another message processor.
logger
protected Log logger
AbstractMessageObserver
public AbstractMessageObserver()
process
public final MuleEvent process(MuleEvent event)
throws MuleException
- Description copied from interface:
MessageProcessor
- Invokes the MessageProcessor.
- Specified by:
process in interface MessageProcessor
- Parameters:
event - MuleEvent to be processed
- Returns:
- optional response MuleEvent
- Throws:
MuleException
observe
public abstract void observe(MuleEvent event)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.