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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description MessageHolder(Message<?> message)
-
Method Summary
Modifier and Type Method Description Message<?>
getMessage()
MessageMetadata
getMessageMetadata()
void
setTimestamp(long timestamp)
-
Constructor Details
-
Method Details
-
setTimestamp
public void setTimestamp(long timestamp) -
getMessage
-
getMessageMetadata
-