Package org.springframework.integration
Class StaticMessageHeaderAccessor
java.lang.Object
org.springframework.integration.StaticMessageHeaderAccessor
public final class StaticMessageHeaderAccessor extends Object
Lightweight type-safe header accessor avoiding object
creation just to access a header.
- Since:
- 5.0.1
- Author:
- Gary Russell, Artem Bilan
- See Also:
IntegrationMessageHeaderAccessor
-
Method Summary
Modifier and Type Method Description static 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
getId(Message<?> message)
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)