org.mule.context.notification
Class EndpointMessageNotification
java.lang.Object
java.util.EventObject
org.mule.api.context.notification.ServerNotification
org.mule.context.notification.EndpointMessageNotification
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- MessageNotification
public class EndpointMessageNotification
- extends ServerNotification
These notifications are fired when either a message is either: received by an
endpoint, sent or dispatched from an endpoint or requested from an endpoint.
- See Also:
- Serialized Form
Fields inherited from class org.mule.api.context.notification.ServerNotification |
action, ADMIN_EVENT_ACTION_START_RANGE, COMPONENT_EVENT_ACTION_START_RANGE, CONNECTION_EVENT_ACTION_START_RANGE, CONTEXT_EVENT_ACTION_START_RANGE, CUSTOM_EVENT_ACTION_START_RANGE, EVENT_NAME, EXCEPTION_EVENT_ACTION_START_RANGE, MANAGEMENT_EVENT_ACTION_START_RANGE, MESSAGE_EVENT_ACTION_START_RANGE, MODEL_EVENT_ACTION_START_RANGE, NO_ACTION_ID, NO_ACTION_NAME, NULL_ACTION, NULL_MESSAGE, REGISTRY_EVENT_ACTION_START_RANGE, resourceIdentifier, ROUTING_EVENT_ACTION_START_RANGE, SECURITY_EVENT_ACTION_START_RANGE, serverId, SERVICE_EVENT_ACTION_START_RANGE, SPACE_EVENT_ACTION_START_RANGE, timestamp, TRANSACTION_EVENT_ACTION_START_RANGE, TYPE_ERROR, TYPE_FATAL, TYPE_INFO, TYPE_WARNING |
logger
protected static final Log logger
- logger used by this class
MESSAGE_RECEIVED
public static final int MESSAGE_RECEIVED
- See Also:
- Constant Field Values
MESSAGE_DISPATCHED
public static final int MESSAGE_DISPATCHED
- See Also:
- Constant Field Values
MESSAGE_SENT
public static final int MESSAGE_SENT
- See Also:
- Constant Field Values
MESSAGE_REQUESTED
public static final int MESSAGE_REQUESTED
- See Also:
- Constant Field Values
EndpointMessageNotification
public EndpointMessageNotification(MuleMessage resource,
ImmutableEndpoint endpoint,
String identifier,
int action)
cloneMessage
protected static MuleMessage cloneMessage(MuleMessage message)
getPayloadToString
protected String getPayloadToString()
- Overrides:
getPayloadToString
in class ServerNotification
toString
public String toString()
- Overrides:
toString
in class ServerNotification
getEndpoint
public ImmutableEndpoint getEndpoint()
Copyright © 2003-2009 MuleSource, Inc.. All Rights Reserved.