Class MessageHolder

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

public class MessageHolder extends Object implements Serializable
The MessageStore specific value object to keep the Message and its metadata.
Since:
5.0
Author:
Artem Bilan
See Also:
  • Constructor Details

    • MessageHolder

      public MessageHolder(Message<?> message)
  • Method Details

    • setTimestamp

      public void setTimestamp(long timestamp)
    • getMessage

      public Message<?> getMessage()
    • getMessageMetadata

      public MessageMetadata getMessageMetadata()