public enum OnFailOption extends Enum<OnFailOption>
STOP the processing, however when all the requests
in a multi-message are independent and one failure does not impact the others, the CONTINUE option may be used.| Enum Constant and Description |
|---|
CONTINUE
Continue processing all requests in a multi-message regardless of failures.
|
STOP
Cancel the processing of subsequent requests in a multi-message batch when one fails.
|
| Modifier and Type | Method and Description |
|---|---|
static OnFailOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OnFailOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OnFailOption STOP
ProcessingMode.PARALLEL processing option.public static final OnFailOption CONTINUE
public static OnFailOption[] values()
for (OnFailOption c : OnFailOption.values()) System.out.println(c);
public static OnFailOption 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 nullCopyright © 2014. All Rights Reserved.