public enum SagaCompletionMode extends Enum<SagaCompletionMode>
Enum Constant and Description |
---|
AUTO
Complete the saga automatically as soon as the exchange is processed.
|
MANUAL
Complete the saga explicitly using the "saga:complete" endpoint.
|
Modifier and Type | Method and Description |
---|---|
static SagaCompletionMode |
defaultCompletionMode() |
static SagaCompletionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SagaCompletionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SagaCompletionMode AUTO
public static final SagaCompletionMode MANUAL
public static SagaCompletionMode[] values()
for (SagaCompletionMode c : SagaCompletionMode.values()) System.out.println(c);
public static SagaCompletionMode 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 nullpublic static SagaCompletionMode defaultCompletionMode()
Apache Camel