Enum DeadLetterPublishingRecoverer.HeaderNames.HeadersToAdd
- java.lang.Object
-
- java.lang.Enum<DeadLetterPublishingRecoverer.HeaderNames.HeadersToAdd>
-
- org.springframework.kafka.listener.DeadLetterPublishingRecoverer.HeaderNames.HeadersToAdd
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DeadLetterPublishingRecoverer.HeaderNames.HeadersToAdd>
- Enclosing class:
- DeadLetterPublishingRecoverer.HeaderNames
public static enum DeadLetterPublishingRecoverer.HeaderNames.HeadersToAdd extends java.lang.Enum<DeadLetterPublishingRecoverer.HeaderNames.HeadersToAdd>
Bits representing which headers to add.- Since:
- 2.8.4
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EX_CAUSE
The exception cause class name.EX_MSG
The exception message.EX_STACKTRACE
The exception stack trace.EXCEPTION
The exception class name.GROUP
The consumer group that received the failed record.OFFSET
The offset of the failed record.PARTITION
The partition from which the failed record was received.TOPIC
The original topic of the failed record.TS
The timestamp of the failed record.TS_TYPE
The timestamp type of the failed record.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DeadLetterPublishingRecoverer.HeaderNames.HeadersToAdd
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DeadLetterPublishingRecoverer.HeaderNames.HeadersToAdd[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OFFSET
public static final DeadLetterPublishingRecoverer.HeaderNames.HeadersToAdd OFFSET
The offset of the failed record.
-
TS
public static final DeadLetterPublishingRecoverer.HeaderNames.HeadersToAdd TS
The timestamp of the failed record.
-
TS_TYPE
public static final DeadLetterPublishingRecoverer.HeaderNames.HeadersToAdd TS_TYPE
The timestamp type of the failed record.
-
TOPIC
public static final DeadLetterPublishingRecoverer.HeaderNames.HeadersToAdd TOPIC
The original topic of the failed record.
-
PARTITION
public static final DeadLetterPublishingRecoverer.HeaderNames.HeadersToAdd PARTITION
The partition from which the failed record was received.
-
GROUP
public static final DeadLetterPublishingRecoverer.HeaderNames.HeadersToAdd GROUP
The consumer group that received the failed record.
-
EXCEPTION
public static final DeadLetterPublishingRecoverer.HeaderNames.HeadersToAdd EXCEPTION
The exception class name.
-
EX_CAUSE
public static final DeadLetterPublishingRecoverer.HeaderNames.HeadersToAdd EX_CAUSE
The exception cause class name.
-
EX_MSG
public static final DeadLetterPublishingRecoverer.HeaderNames.HeadersToAdd EX_MSG
The exception message.
-
EX_STACKTRACE
public static final DeadLetterPublishingRecoverer.HeaderNames.HeadersToAdd EX_STACKTRACE
The exception stack trace.
-
-
Method Detail
-
values
public static DeadLetterPublishingRecoverer.HeaderNames.HeadersToAdd[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DeadLetterPublishingRecoverer.HeaderNames.HeadersToAdd c : DeadLetterPublishingRecoverer.HeaderNames.HeadersToAdd.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeadLetterPublishingRecoverer.HeaderNames.HeadersToAdd valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-