public static enum ReliableMessagingFeature.DeliveryAssurance extends Enum<ReliableMessagingFeature.DeliveryAssurance>
EXACTLY_ONCE,
AT_LEAST_ONCE,
AT_MOST_ONCE| Enum Constant and Description |
|---|
AT_LEAST_ONCE
Each message is to be delivered at least once, or else an error will
be raised by the RM Source and/or RM Destination.
|
AT_MOST_ONCE
Each message is to be delivered at most once.
|
EXACTLY_ONCE
Each message is to be delivered exactly once; if a message cannot be
delivered then an error will be raised by the RM Source and/or RM Destination.
|
| Modifier and Type | Method and Description |
|---|---|
static ReliableMessagingFeature.DeliveryAssurance |
getDefault()
Provides a default delivery assurance value.
|
static ReliableMessagingFeature.DeliveryAssurance |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReliableMessagingFeature.DeliveryAssurance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReliableMessagingFeature.DeliveryAssurance EXACTLY_ONCE
public static final ReliableMessagingFeature.DeliveryAssurance AT_LEAST_ONCE
public static final ReliableMessagingFeature.DeliveryAssurance AT_MOST_ONCE
public static ReliableMessagingFeature.DeliveryAssurance[] values()
for (ReliableMessagingFeature.DeliveryAssurance c : ReliableMessagingFeature.DeliveryAssurance.values()) System.out.println(c);
public static ReliableMessagingFeature.DeliveryAssurance 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 ReliableMessagingFeature.DeliveryAssurance getDefault()
EXACTLY_ONCE.ReliableMessagingFeature.DeliveryAssuranceCopyright © 2005–2018 Oracle Corporation. All rights reserved.