Package org.springframework.jms.support
Interface JmsHeaders
public interface JmsHeaders
Pre-defined names and prefixes to be used for setting and/or retrieving
JMS attributes from/to generic message headers.
- Since:
- 4.1
- Author:
- Mark Fisher, Stephane Nicoll
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Correlation ID for the message.static final String
Distribution mode.static final String
Name of the destination (topic or queue) of the message.static final String
Message expiration date and time.static final String
Unique identifier for a message.static final String
Prefix used for JMS API related headers in order to distinguish from user-defined headers and other internal headers (for example, correlationId).static final String
The message priority level.static final String
Specify if the message was resent.static final String
Name of the destination (topic or queue) the message replies should be sent to.static final String
Date and time of the message sending operation.static final String
Message type label.
-
Field Details
-
PREFIX
Prefix used for JMS API related headers in order to distinguish from user-defined headers and other internal headers (for example, correlationId).- See Also:
-
CORRELATION_ID
Correlation ID for the message. This may be theMESSAGE_ID
of the message that this message replies to. It may also be an application-specific identifier. -
DESTINATION
Name of the destination (topic or queue) of the message.Read-only value.
-
DELIVERY_MODE
Distribution mode.Read-only value.
-
EXPIRATION
Message expiration date and time.Read-only value.
-
MESSAGE_ID
Unique identifier for a message.Read-only value.
-
PRIORITY
The message priority level.Read-only value.
-
REPLY_TO
Name of the destination (topic or queue) the message replies should be sent to.- See Also:
-
REDELIVERED
Specify if the message was resent. This occurs when a message consumer fails to acknowledge receipt of the message.Read-only value.
-
TYPE
Message type label. This type is a string value describing the message in a functional manner.- See Also:
-
TIMESTAMP
Date and time of the message sending operation.Read-only value.
-