Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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 `MessageProcessor`s 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.

Field Summary
`protected Log` | `logger`

Constructor Summary
`AbstractMessageObserver()`

Method Summary
`abstract void` | `observe(MuleEvent event)`
`MuleEvent` | `process(MuleEvent event)` Invokes the MessageProcessor.
`String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### logger

    protected Log logger

Constructor Detail

### AbstractMessageObserver

    public AbstractMessageObserver()

Method Detail

### 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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.