接口 JmsHeaders
public interface JmsHeaders
Pre-defined names and prefixes to be used for setting and/or retrieving JMS attributes from/to generic message headers.- 从以下版本开始:
- 4.1
- 作者:
- Mark Fisher, Stephane Nicoll
字段概要
字段 修饰符和类型 字段 说明 static StringCORRELATION_IDCorrelation ID for the message.static StringDELIVERY_MODEDistribution mode.static StringDESTINATIONName of the destination (topic or queue) of the message.static StringEXPIRATIONMessage expiration date and time.static StringMESSAGE_IDUnique identifier for a message.static StringPREFIXPrefix used for JMS API related headers in order to distinguish from user-defined headers and other internal headers (e.g. correlationId).static StringPRIORITYThe message priority level.static StringREDELIVEREDSpecify if the message was resent.static StringREPLY_TOName of the destination (topic or queue) the message replies should be sent to.static StringTIMESTAMPDate and time of the message sending operation.static StringTYPEMessage type label.
字段详细资料
PREFIX
static final String PREFIX
Prefix used for JMS API related headers in order to distinguish from user-defined headers and other internal headers (e.g. correlationId).- 另请参阅:
SimpleJmsHeaderMapper, 常量字段值
CORRELATION_ID
static final String 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
static final String DESTINATION
Name of the destination (topic or queue) of the message.Read-only value.
DELIVERY_MODE
static final String DELIVERY_MODE
Distribution mode.Read-only value.
EXPIRATION
static final String EXPIRATION
Message expiration date and time.Read-only value.
MESSAGE_ID
static final String MESSAGE_ID
Unique identifier for a message.Read-only value.
REPLY_TO
static final String REPLY_TO
Name of the destination (topic or queue) the message replies should be sent to.- 另请参阅:
Message.getJMSReplyTo(), 常量字段值
REDELIVERED
static final String REDELIVERED
Specify if the message was resent. This occurs when a message consumer fails to acknowledge the message reception.Read-only value.
TYPE
static final String TYPE
Message type label. This type is a string value describing the message in a functional manner.- 另请参阅:
Message.getJMSType(), 常量字段值