public final class MessageData extends Object
Constructor and Description |
---|
MessageData(TopicKey topicKey,
String serializedMessageData,
long sequenceNumber) |
Modifier and Type | Method and Description |
---|---|
long |
getSequenceNumber()
A sequence number that can be used to determine whether given message was already consumed by client.
|
String |
getSerializedMessage()
Returns serialized message
|
TopicKey |
getTopicKey()
Returns a topic key with which this message is associated
|
public TopicKey getTopicKey()
public String getSerializedMessage()
public long getSequenceNumber()
Copyright © 2016 JBoss by Red Hat. All Rights Reserved.