Spring Integration

org.springframework.integration.history
Class MessageHistoryEvent

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

public class MessageHistoryEvent
extends Object
implements 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, Oleg Zhurakousky
See Also:
Serialized Form

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

Constructor Detail

MessageHistoryEvent

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

Method Detail

getType

public String getType()

getName

public String getName()

getTimestamp

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


toString

public String toString()
Overrides:
toString in class Object

Spring Integration

Copyright © 2010. All Rights Reserved.