Class MessagingMessageHeaders
java.lang.Object
org.springframework.messaging.MessageHeaders
io.awspring.cloud.sqs.support.converter.MessagingMessageHeaders
- All Implemented Interfaces:
Serializable
,Map<String,
Object>
MessageHeaders
implementation that allows providing an external UUID
.- Since:
- 3.0
- Author:
- Tomaz Fernandes
- See Also:
-
Nested Class Summary
-
Field Summary
Fields inherited from class org.springframework.messaging.MessageHeaders
CONTENT_TYPE, ERROR_CHANNEL, ID, ID_VALUE_NONE, REPLY_CHANNEL, TIMESTAMP
-
Constructor Summary
ConstructorsConstructorDescriptionMessagingMessageHeaders
(Map<String, Object> headers) Create an instance with the provided headers.MessagingMessageHeaders
(Map<String, Object> headers, UUID id) Create an instance with the provided headers and id.Create an instance with the provided arguments. -
Method Summary
Methods inherited from class org.springframework.messaging.MessageHeaders
clear, containsKey, containsValue, entrySet, equals, get, get, getErrorChannel, getId, getIdGenerator, getRawHeaders, getReplyChannel, getTimestamp, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, values
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
MessagingMessageHeaders
Create an instance with the provided headers.- Parameters:
headers
- the original headers.
-
MessagingMessageHeaders
Create an instance with the provided headers and id.- Parameters:
headers
- the headers.id
- the id.
-
MessagingMessageHeaders
public MessagingMessageHeaders(@Nullable Map<String, Object> headers, @Nullable UUID id, @Nullable Long timestamp) Create an instance with the provided arguments.- Parameters:
headers
- the message headers.id
- the id.timestamp
- the timestamp.
-