public enum ShutdownRunningTask extends Enum<ShutdownRunningTask>
BatchConsumer have pending tasks which you can configure the consumer
to complete as well.
BatchConsumer can have
many tasks and thus this option mostly applies to this kind of consumer.| Enum Constant and Description |
|---|
CompleteAllTasks |
CompleteCurrentTaskOnly |
| Modifier and Type | Method and Description |
|---|---|
static ShutdownRunningTask |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShutdownRunningTask[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShutdownRunningTask CompleteCurrentTaskOnly
public static final ShutdownRunningTask CompleteAllTasks
public static ShutdownRunningTask[] values()
for (ShutdownRunningTask c : ShutdownRunningTask.values()) System.out.println(c);
public static ShutdownRunningTask 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