Top Description Fields
org.springframework.jms.support

public Interface JmsHeaders


Pre-defined names and prefixes to be used for setting and/or retrieving JMS attributes from/to generic message headers.
Authors
Mark Fisher, Stephane Nicoll
Since
4.1

Field Summary

Modifier and TypeField and Description
public static final String
CORRELATION_ID

Correlation ID for the message.

public static final String
DELIVERY_MODE

Distribution mode.

public static final String
DESTINATION

Name of the destination (topic or queue) of the message.

public static final String
EXPIRATION

Message expiration date and time.

public static final String
MESSAGE_ID

Unique identifier for a message.

public 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).

public static final String
PRIORITY

The message priority level.

public static final String
REDELIVERED

Specify if the message was resent.

public static final String
REPLY_TO

Name of the destination (topic or queue) the message replies should be sent to.

public static final String
TIMESTAMP

Date and time of the message sending operation.

public static final String
TYPE

Message type label.

Field Detail

CORRELATION_IDback to summary
public static final String CORRELATION_ID

Correlation ID for the message. This may be the MESSAGE_ID of the message that this message replies to. It may also be an application-specific identifier.

See Also
jakarta.jms.Message#getJMSCorrelationID()
DELIVERY_MODEback to summary
public static final String DELIVERY_MODE

Distribution mode.

Read-only value.

See Also
jakarta.jms.Message#getJMSDeliveryMode(), jakarta.jms.DeliveryMode
DESTINATIONback to summary
public static final String DESTINATION

Name of the destination (topic or queue) of the message.

Read-only value.

See Also
jakarta.jms.Message#getJMSDestination(), jakarta.jms.Destination, jakarta.jms.Queue, jakarta.jms.Topic
EXPIRATIONback to summary
public static final String EXPIRATION

Message expiration date and time.

Read-only value.

See Also
jakarta.jms.Message#getJMSExpiration()
MESSAGE_IDback to summary
public static final String MESSAGE_ID

Unique identifier for a message.

Read-only value.

See Also
jakarta.jms.Message#getJMSMessageID()
PREFIXback to summary
public 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).

See Also
SimpleJmsHeaderMapper
PRIORITYback to summary
public static final String PRIORITY

The message priority level.

Read-only value.

See Also
jakarta.jms.Message#getJMSPriority()
REDELIVEREDback to summary
public 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.

See Also
jakarta.jms.Message#getJMSRedelivered()
REPLY_TOback to summary
public static final String REPLY_TO

Name of the destination (topic or queue) the message replies should be sent to.

See Also
jakarta.jms.Message#getJMSReplyTo()
TIMESTAMPback to summary
public static final String TIMESTAMP

Date and time of the message sending operation.

Read-only value.

See Also
jakarta.jms.Message#getJMSTimestamp()
TYPEback to summary
public static final String TYPE

Message type label. This type is a string value describing the message in a functional manner.

See Also
jakarta.jms.Message#getJMSType()