Class MessageHolder

java.lang.Object
org.springframework.integration.store.MessageHolder
All Implemented Interfaces:
java.io.Serializable

public class MessageHolder
extends java.lang.Object
implements java.io.Serializable
The MessageStore specific value object to keep the Message and its metadata.
Since:
5.0
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    MessageHolder​(org.springframework.messaging.Message<?> message)  
  • Method Summary

    Modifier and Type Method Description
    org.springframework.messaging.Message<?> getMessage()  
    MessageMetadata getMessageMetadata()  
    void setTimestamp​(long timestamp)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait