public enum PollOnError extends Enum<PollOnError>
Enum Constant and Description |
---|
DISCARD |
ERROR_HANDLER |
RECONNECT |
RETRY |
STOP |
Modifier and Type | Method and Description |
---|---|
static PollOnError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PollOnError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PollOnError DISCARD
public static final PollOnError ERROR_HANDLER
public static final PollOnError RECONNECT
public static final PollOnError RETRY
public static final PollOnError STOP
public static PollOnError[] values()
for (PollOnError c : PollOnError.values()) System.out.println(c);
public static PollOnError valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullApache Camel