Package org.springframework.amqp.support
Class AmqpHeaders
java.lang.Object
org.springframework.amqp.support.AmqpHeaders
Pre-defined names and prefixes to be used for setting and/or retrieving AMQP
MessageProperties from/to
Message
Headers.- Since:
- 1.4
- Author:
- Mark Fisher, Gary Russell
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
The number of fragments in a batch message.static final String
static final String
static final String
The queue from which the listener container consumer received the message.static final String
The tag of the listener container consumer that received the message.static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
A flag to indicate that the current message is the last from a batch.static final String
static final String
static final String
Prefix used for AMQP related headers in order to distinguish from user-defined headers and other internal headers (e.g.static final String
static final String
A CorrelationData instance for publisher confirms (not mapped).static final String
static final String
The received raw message before conversion; this header usually only appears in anErrorMessage
.static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
The number of retries for the message over server republishing.static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Constructor Summary
-
Method Summary
-
Field Details
-
PREFIX
Prefix used for AMQP related headers in order to distinguish from user-defined headers and other internal headers (e.g. replyTo).- See Also:
-
APP_ID
- See Also:
-
CLUSTER_ID
- See Also:
-
CONTENT_ENCODING
- See Also:
-
CONTENT_LENGTH
- See Also:
-
CONTENT_TYPE
- See Also:
-
CONTENT_TYPE_CONVERTER_WINS
- See Also:
-
CORRELATION_ID
- See Also:
-
DELAY
- See Also:
-
DELIVERY_MODE
- See Also:
-
DELIVERY_TAG
- See Also:
-
EXPIRATION
- See Also:
-
MESSAGE_COUNT
- See Also:
-
MESSAGE_ID
- See Also:
-
RECEIVED_DELAY
- See Also:
-
RECEIVED_DELIVERY_MODE
- See Also:
-
RECEIVED_EXCHANGE
- See Also:
-
RECEIVED_ROUTING_KEY
- See Also:
-
RECEIVED_USER_ID
- See Also:
-
REDELIVERED
- See Also:
-
REPLY_TO
- See Also:
-
TIMESTAMP
- See Also:
-
TYPE
- See Also:
-
USER_ID
- See Also:
-
SPRING_REPLY_CORRELATION
- See Also:
-
SPRING_REPLY_TO_STACK
- See Also:
-
PUBLISH_CONFIRM_CORRELATION
A CorrelationData instance for publisher confirms (not mapped).- Since:
- 2.3
- See Also:
-
PUBLISH_CONFIRM
- See Also:
-
PUBLISH_CONFIRM_NACK_CAUSE
- See Also:
-
RETURN_REPLY_CODE
- See Also:
-
RETURN_REPLY_TEXT
- See Also:
-
RETURN_EXCHANGE
- See Also:
-
RETURN_ROUTING_KEY
- See Also:
-
CHANNEL
- See Also:
-
CONSUMER_TAG
The tag of the listener container consumer that received the message.- See Also:
-
CONSUMER_QUEUE
The queue from which the listener container consumer received the message.- See Also:
-
RAW_MESSAGE
The received raw message before conversion; this header usually only appears in anErrorMessage
.- Since:
- 2.0
- See Also:
-
LAST_IN_BATCH
A flag to indicate that the current message is the last from a batch.- Since:
- 2.2
- See Also:
-
BATCH_SIZE
The number of fragments in a batch message.- Since:
- 2.2
- See Also:
-
RETRY_COUNT
The number of retries for the message over server republishing.- Since:
- 3.2
- See Also:
-
-
Constructor Details
-
AmqpHeaders
public AmqpHeaders()
-