org.springframework.integration.history
Class MessageHistoryEvent

java.lang.Object
  extended by org.springframework.integration.support.ComponentMetadata
      extended by org.springframework.integration.history.MessageHistoryEvent
All Implemented Interfaces:
java.io.Serializable

public class MessageHistoryEvent
extends ComponentMetadata

Metadata about a historically relevant messaging event along with a timestamp that is generated when this event is created.

Since:
2.0
Author:
Mark Fisher
See Also:
Serialized Form

Field Summary
static java.lang.String TIMESTAMP
           
 
Fields inherited from class org.springframework.integration.support.ComponentMetadata
COMPONENT_NAME, COMPONENT_TYPE
 
Constructor Summary
MessageHistoryEvent(ComponentMetadata metadata)
          Create a MessageHistoryEvent with the metadata of the source component.
 
Method Summary
 long getTimestamp()
          Returns the timestamp generated when this event was created.
 
Methods inherited from class org.springframework.integration.support.ComponentMetadata
equals, getAttribute, getAttribute, getAttributes, getComponentName, getComponentType, hashCode, setAttribute, setAttribute, setAttribute, setComponentName, setComponentType, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

TIMESTAMP

public static final java.lang.String TIMESTAMP
See Also:
Constant Field Values
Constructor Detail

MessageHistoryEvent

public MessageHistoryEvent(ComponentMetadata metadata)
Create a MessageHistoryEvent with the metadata of the source component.

Method Detail

getTimestamp

public long getTimestamp()
Returns the timestamp generated when this event was created.