| Enum Constant and Description |
|---|
CorrelationId
The standard message id
JMS: JMSCorrelationID
Stomp: "correlation-id"
Amqp: "properties.correlation-id"
Type: String
|
DeliveryCount
The message delivery count.
|
DeliveryMode
The message delivery mode.
|
Expiration
The message expiration
JMS: JMSExpiration
Stomp: "expires"
Amqp: "header.ttl"
Type: Long
Note: Time in milliseconds - 0 means never expire
|
GroupId
The message group id
JMS: JMSXGroupID
Stomp: "JMSXGroupID"
Amqp: "application-properties.JMSXGroupID"
Type: String
|
GroupSeq
Specifies the sequence number in a Message Group
JMS: JMSXGroupSeq
Stomp: "JMSXGroupSeq"
Amqp: "application-properties.JMSXGroupSeq"
Type: Integer
|
PreviousDestination
The previous message's destination.
|
Priority
The message priority
JMS: JMSPriority
Stomp: "priority"
Amqp: "header.priority"
Type: Integer
Note: 0 is lowest, 9 is highest
|
Producer
The message producer's name
JMS: JMSPProducer
Stomp: "producer"
Amqp: "application-properties.producer"
Type: String
|
ReplyTo
Destination the consumer should send replies.
|
Result
The result of processing a message, added to messages sent to specialized consumers for auditing.
|
ResultDetail
The detail about a result of processing a message, added to messages sent to specialized consumers for auditing.
|
RetryCount
The number of times a message has tried to process
JMS: JMSPRetryCount
Stomp: "retry-count"
Amqp: "application-properties.retry-count"
Type: Integer
|
Timestamp
The message creation time
JMS: JMSTimestamp
Stomp: "timestamp"
Amqp: "properties.creation-time"
Type: Long
|
Type
The message type
JMS: JMSType
Stomp: "type"
Amqp: "message-annotations.x-opt-jms-type"
Type: String
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAmqpMessage() |
java.lang.reflect.Type |
getHeaderType() |
java.lang.String |
getJmsMessage() |
java.lang.String |
getStompMessage() |
static Header |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Header[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Header CorrelationId
public static final Header DeliveryCount
public static final Header DeliveryMode
public static final Header Expiration
public static final Header GroupId
public static final Header GroupSeq
public static final Header PreviousDestination
public static final Header Priority
public static final Header Producer
public static final Header ReplyTo
public static final Header Result
public static final Header ResultDetail
public static final Header RetryCount
public static final Header Timestamp
public static final Header Type
public static Header[] values()
for (Header c : Header.values()) System.out.println(c);
public static Header valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getJmsMessage()
public java.lang.String getStompMessage()
public java.lang.String getAmqpMessage()
public java.lang.reflect.Type getHeaderType()