Package org.springframework.integration
Class StaticMessageHeaderAccessor
java.lang.Object
org.springframework.integration.StaticMessageHeaderAccessor
Lightweight type-safe header accessor avoiding object
creation just to access a header.
- Since:
- 5.0.1
- Author:
- Gary Russell, Artem Bilan
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic SimpleAcknowledgment
getAcknowledgment
(Message<?> message) static AcknowledgmentCallback
getAcknowledgmentCallback
(Message<?> message) static Closeable
getCloseableResource
(Message<?> message) static MimeType
getContentType
(Message<?> message) static AtomicInteger
getDeliveryAttempt
(Message<?> message) static Long
getExpirationDate
(Message<?> message) static UUID
static Integer
getPriority
(Message<?> message) static int
getSequenceNumber
(Message<?> message) static int
getSequenceSize
(Message<?> message) static <T> T
getSourceData
(Message<?> message) static Long
getTimestamp
(Message<?> message)
-
Method Details
-
getId
-
getTimestamp
-
getContentType
-
getExpirationDate
-
getSequenceNumber
-
getSequenceSize
-
getPriority
-
getCloseableResource
-
getDeliveryAttempt
-
getAcknowledgmentCallback
-
getAcknowledgment
-
getSourceData
-