Enum Constant and Description |
---|
AT_POSITION
Start consumption of messages at the specified position.
|
HORIZON
Start consumption of messages at the horizon of the message channel.
|
POSITION
Start consumption of messages at first message after the specified position.
|
TIMESTAMP
Start consumption of messages at first message at the specified timestamp.
|
Modifier and Type | Method and Description |
---|---|
static StartFrom |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StartFrom[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StartFrom HORIZON
public static final StartFrom POSITION
public static final StartFrom AT_POSITION
public static final StartFrom TIMESTAMP
public static StartFrom[] values()
for (StartFrom c : StartFrom.values()) System.out.println(c);
public static StartFrom 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 null