@DefaultSchema(value=AutoValueSchema.class) public abstract static class Solace.Record extends java.lang.Object
Constructor and Description |
---|
Record() |
Modifier and Type | Method and Description |
---|---|
abstract java.nio.ByteBuffer |
getAttachmentBytes()
Gets the attachment data of the message as a ByteString, if any.
|
abstract @Nullable Solace.Destination |
getDestination()
Gets the destination (topic or queue) to which the message was sent.
|
abstract long |
getExpiration()
Gets the message expiration time in milliseconds since the Unix epoch.
|
abstract @Nullable java.lang.String |
getMessageId()
Gets the unique identifier of the message, a string for an application-specific message
identifier.
|
abstract java.nio.ByteBuffer |
getPayload()
Gets the payload of the message as a ByteString.
|
abstract int |
getPriority()
Gets the priority level of the message (0-255, higher is more important).
|
abstract long |
getReceiveTimestamp()
Gets the timestamp (in milliseconds since the Unix epoch) when the message was received by
the Solace broker.
|
abstract boolean |
getRedelivered()
Indicates whether the message has been redelivered due to a prior delivery failure.
|
abstract @Nullable java.lang.String |
getReplicationGroupMessageId()
Gets the ID for the message within its replication group (if applicable).
|
abstract @Nullable Solace.Destination |
getReplyTo()
Gets the destination to which replies to this message should be sent.
|
abstract @Nullable java.lang.Long |
getSenderTimestamp()
Gets the timestamp (in milliseconds since the Unix epoch) when the message was sent by the
sender.
|
abstract @Nullable java.lang.Long |
getSequenceNumber()
Gets the sequence number of the message (if applicable).
|
abstract long |
getTimeToLive()
The number of milliseconds before the message is discarded or moved to Dead Message Queue.
|
public abstract @Nullable java.lang.String getMessageId()
Mapped from XMLMessage.getApplicationMessageId()
public abstract java.nio.ByteBuffer getPayload()
Mapped from BytesXMLMessage.getBytes()
public abstract @Nullable Solace.Destination getDestination()
Mapped from XMLMessage.getDestination()
public abstract long getExpiration()
A value of 0 indicates the message does not expire.
Mapped from XMLMessage.getExpiration()
public abstract int getPriority()
Mapped from XMLMessage.getPriority()
public abstract boolean getRedelivered()
Mapped from XMLMessage.getRedelivered()
public abstract @Nullable Solace.Destination getReplyTo()
Mapped from XMLMessage.getReplyTo()
public abstract long getReceiveTimestamp()
Mapped from XMLMessage.getReceiveTimestamp()
public abstract @Nullable java.lang.Long getSenderTimestamp()
public abstract @Nullable java.lang.Long getSequenceNumber()
Mapped from XMLMessage.getSequenceNumber()
public abstract long getTimeToLive()
Mapped from XMLMessage.getTimeToLive()
public abstract @Nullable java.lang.String getReplicationGroupMessageId()
Mapped from XMLMessage.getReplicationGroupMessageId()
The ID for a particular message is only guaranteed to be the same for a particular copy of a message on a particular queue or topic endpoint within a replication group. The same message on different queues or topic endpoints within the same replication group may or may not have the same replication group message ID. See more at https://docs.solace.com/API/API-Developer-Guide/Detecting-Duplicate-Mess.htm
public abstract java.nio.ByteBuffer getAttachmentBytes()
Mapped from XMLMessage.getAttachmentByteBuffer()