public static enum SenderFailureStrategy.PayloadAction extends java.lang.Enum<SenderFailureStrategy.PayloadAction>
| Enum Constant and Description |
|---|
CAN_BE_RETRIED
Sending the occurrence wasn't successful for a reason that warrants a retry (eg.
|
NONE
No further action on the payload is necessary.
|
| Modifier and Type | Method and Description |
|---|---|
static SenderFailureStrategy.PayloadAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SenderFailureStrategy.PayloadAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SenderFailureStrategy.PayloadAction NONE
public static final SenderFailureStrategy.PayloadAction CAN_BE_RETRIED
Sending the occurrence wasn't successful for a reason that warrants a retry (eg. a network connection wasn't available at the time.)
Note the sender might still choose not to retry for other reasons, eg. there have been too many attempts to send the same payload.
public static SenderFailureStrategy.PayloadAction[] values()
for (SenderFailureStrategy.PayloadAction c : SenderFailureStrategy.PayloadAction.values()) System.out.println(c);
public static SenderFailureStrategy.PayloadAction 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