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

    Fields
    Modifier and Type
    Field
    Description
    static 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

      static final String 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

      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:
    • DESTINATION

      static final String DESTINATION
      Name of the destination (topic or queue) of the message.

      Read-only value.

      See Also:
    • DELIVERY_MODE

      static final String DELIVERY_MODE
      Distribution mode.

      Read-only value.

      See Also:
    • EXPIRATION

      static final String EXPIRATION
      Message expiration date and time.

      Read-only value.

      See Also:
    • MESSAGE_ID

      static final String MESSAGE_ID
      Unique identifier for a message.

      Read-only value.

      See Also:
    • PRIORITY

      static final String PRIORITY
      The message priority level.

      Read-only value.

      See Also:
    • REPLY_TO

      static final String REPLY_TO
      Name of the destination (topic or queue) the message replies should be sent to.
      See Also:
    • REDELIVERED

      static final String REDELIVERED
      Specify if the message was resent. This occurs when a message consumer fails to acknowledge receipt of the message.

      Read-only value.

      See Also:
    • TYPE

      static final String TYPE
      Message type label. This type is a string value describing the message in a functional manner.
      See Also:
    • TIMESTAMP

      static final String TIMESTAMP
      Date and time of the message sending operation.

      Read-only value.

      See Also: