public abstract class SqsMessage
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
SqsMessage() |
Modifier and Type | Method and Description |
---|---|
static SqsMessage |
create(java.lang.String body,
java.lang.String messageId,
java.lang.String receiptHandle,
long timeStamp,
long requestTimeStamp) |
abstract java.lang.String |
getBody()
Message body.
|
abstract java.lang.String |
getMessageId()
SQS message id.
|
abstract java.lang.String |
getReceiptHandle()
SQS receipt handle.
|
abstract long |
getRequestTimeStamp()
Timestamp the message was received at (in epoch millis).
|
abstract long |
getTimeStamp()
Timestamp the message was sent at (in epoch millis).
|
public abstract java.lang.String getBody()
public abstract java.lang.String getMessageId()
public abstract java.lang.String getReceiptHandle()
public abstract long getTimeStamp()
public abstract long getRequestTimeStamp()
public static SqsMessage create(java.lang.String body, java.lang.String messageId, java.lang.String receiptHandle, long timeStamp, long requestTimeStamp)