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
FieldsModifier and TypeFieldDescriptionstatic final StringCorrelation ID for the message.static final StringDistribution mode.static final StringName of the destination (topic or queue) of the message.static final StringMessage expiration date and time.static final StringUnique identifier for a message.static final StringPrefix used for JMS API related headers in order to distinguish from user-defined headers and other internal headers (for example, correlationId).static final StringThe message priority level.static final StringSpecify if the message was resent.static final StringName of the destination (topic or queue) the message replies should be sent to.static final StringDate and time of the message sending operation.static final StringMessage 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_IDof 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.
-