public class MessageHolder
extends java.lang.Object
implements java.io.Serializable
MessageStore
specific value object to keep the Message
and its metadata.Constructor and Description |
---|
MessageHolder(org.springframework.messaging.Message<?> message) |
Modifier and Type | Method and Description |
---|---|
org.springframework.messaging.Message<?> |
getMessage() |
MessageMetadata |
getMessageMetadata() |
void |
setTimestamp(long timestamp) |
public MessageHolder(org.springframework.messaging.Message<?> message)
public void setTimestamp(long timestamp)
public org.springframework.messaging.Message<?> getMessage()
public MessageMetadata getMessageMetadata()