org.springframework.integration.history
Class MessageHistoryEvent

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

public class MessageHistoryEvent
extends java.lang.Object
implements java.io.Serializable

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

Constructor Summary
MessageHistoryEvent(java.lang.String name, java.lang.String type)
          Create a MessageHistoryEvent with the metadata of the source component.
 
Method Summary
 java.lang.String getName()
           
 long getTimestamp()
          Returns the timestamp generated when this event was created.
 java.lang.String getType()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MessageHistoryEvent

public MessageHistoryEvent(java.lang.String name,
                           java.lang.String type)
Create a MessageHistoryEvent with the metadata of the source component.

Method Detail

getType

public java.lang.String getType()

getName

public java.lang.String getName()

getTimestamp

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


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object