public enum DeliveryStrategy extends java.lang.Enum<DeliveryStrategy>
| Enum Constant and Description |
|---|
AT_LEAST_ONCE
The AT_LEAST_ONCE strategy will retry to deliver messages upon technical failures,
potentially leading to message duplication in certain situations.
|
AT_MOST_ONCE
The AT_MOST_ONCE strategy will try to deliver messages once (or less) and continue processing
in all failure cases.
|
| Modifier and Type | Method and Description |
|---|---|
static DeliveryStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DeliveryStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeliveryStrategy AT_MOST_ONCE
public static final DeliveryStrategy AT_LEAST_ONCE
public static DeliveryStrategy[] values()
for (DeliveryStrategy c : DeliveryStrategy.values()) System.out.println(c);
public static DeliveryStrategy 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 nullCopyright © 2020–2021 Axual B.V.. All rights reserved.