Enum Class AmqpHeaderProperties
- All Implemented Interfaces:
Serializable,Comparable<AmqpHeaderProperties>,Constable
The properties found in the message object that are not otherwise handled with maps.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionthe configured absolute time of expiration for this messagethe assigned content encoding value for the message body section or null if not setthe assigned content type value for the message body section or null if not set.the currently assigned correlation ID or null if none set.the absolute time of creation for this messagethe number of failed delivery attempts that this message has been part ofFor an message being sent this method returns the current state of the durable flag on the message.if this message has been acquired by another link previouslythe assigned group ID for this message or null if not set.the assigned group sequence for this message.the currently set Message Id or null if none set.the configured address of the node where replies to this message should be sent, or null if not set.the client-specific id used so that client can send replies to this message to a specific group.the currently set subject metadata for this message or null if none set.the currently set 'To' address which indicates the intended destination of the message.the currently set User ID or null if none set. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.kafka.connect.data.SchemaGets the schema for this data item.Gets the schema name for this data item.static AmqpHeaderPropertiesReturns the enum constant of this class with the specified name.static AmqpHeaderProperties[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MESSAGE_ID
the currently set Message Id or null if none set. -
USER_ID
the currently set User ID or null if none set. -
TO
the currently set 'To' address which indicates the intended destination of the message. -
SUBJECT
the currently set subject metadata for this message or null if none set. -
REPLY_TO
the configured address of the node where replies to this message should be sent, or null if not set. -
CORRELATION_ID
the currently assigned correlation ID or null if none set. -
CONTENT_TYPE
the assigned content type value for the message body section or null if not set. -
CONTENT_ENCODING
the assigned content encoding value for the message body section or null if not set -
ABSOLUTE_EXPIRY
the configured absolute time of expiration for this message -
CREATION_TIME
the absolute time of creation for this message -
GROUP_ID
the assigned group ID for this message or null if not set. -
GROUP_SEQUENCE
the assigned group sequence for this message. -
REPLY_TO_GROUP_ID
the client-specific id used so that client can send replies to this message to a specific group. -
DURABLE
For an message being sent this method returns the current state of the durable flag on the message. For a received message this method returns the durable flag value at the time of sending (or false if not set) unless the value is updated after being received by the receiver -
FIRST_ACQUIRER
if this message has been acquired by another link previously -
DELIVERY_COUNT
the number of failed delivery attempts that this message has been part of
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getSchema
public org.apache.kafka.connect.data.Schema getSchema()Gets the schema for this data item.- Returns:
- the schema for this data item.
-
getSchemaName
Gets the schema name for this data item.- Returns:
- the schema name for this data item.
-