public enum MessagingQosEffort extends Enum<MessagingQosEffort>
MessagingQos to describe how much effort should be expent on ensuring the delivery of the message.| Enum Constant and Description |
|---|
BEST_EFFORT
Best effort means that the messaging system will ensure the message is sent out, but will not guarantee that
it is received, also meaning the message is not persisted awaiting delivery if the receiver is not currently
online.
|
NORMAL
Normal effort means that the messaging system will guarantee delivery of the message, including temporarily
persisting the message as necessary if the receiver is not currently online.
|
| Modifier and Type | Method and Description |
|---|---|
static MessagingQosEffort |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessagingQosEffort[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessagingQosEffort NORMAL
public static final MessagingQosEffort BEST_EFFORT
public static MessagingQosEffort[] values()
for (MessagingQosEffort c : MessagingQosEffort.values()) System.out.println(c);
public static MessagingQosEffort 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 © 2021. All rights reserved.