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