public class SqsMessageHeaders extends MessageHeaders
MessageHeaders
class that allows to set an ID. This was
done to support cases where the ID sent by the producer must be restored on the
consumer side for traceability.Modifier and Type | Field and Description |
---|---|
static String |
SQS_APPROXIMATE_FIRST_RECEIVE_TIMESTAMP
ApproximateFirstReceiveTimestamp header in a SQS message.
|
static String |
SQS_APPROXIMATE_RECEIVE_COUNT
ApproximateReceiveCount header in a SQS message.
|
static String |
SQS_DEDUPLICATION_ID_HEADER
Deduplication header in a SQS message.
|
static String |
SQS_DELAY_HEADER
Delay header in a SQS message.
|
static String |
SQS_GROUP_ID_HEADER
Group id header in a SQS message.
|
static String |
SQS_SENT_TIMESTAMP
SentTimestamp header in a SQS message.
|
CONTENT_TYPE, ERROR_CHANNEL, ID, ID_VALUE_NONE, REPLY_CHANNEL, TIMESTAMP
Constructor and Description |
---|
SqsMessageHeaders(Map<String,Object> headers) |
Modifier and Type | Method and Description |
---|---|
Long |
getApproximateFirstReceiveTimestamp() |
Long |
getApproximateReceiveCount() |
Long |
getSentTimestamp() |
clear, containsKey, containsValue, entrySet, equals, get, get, getErrorChannel, getId, getIdGenerator, getRawHeaders, getReplyChannel, getTimestamp, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, values
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public static final String SQS_DELAY_HEADER
public static final String SQS_GROUP_ID_HEADER
public static final String SQS_DEDUPLICATION_ID_HEADER
public static final String SQS_APPROXIMATE_FIRST_RECEIVE_TIMESTAMP
public static final String SQS_APPROXIMATE_RECEIVE_COUNT
public static final String SQS_SENT_TIMESTAMP
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.