public enum QoS extends Enum<QoS>
| Enum Constant and Description |
|---|
AT_LEAST_ONCE
The message will be delivered at least one time.
|
AT_MOST_ONCE
Fire and forget.
|
EXACTLY_ONCE
Guarantees that the message will be delivered exactly one time.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static QoS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QoS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QoS AT_MOST_ONCE
public static final QoS AT_LEAST_ONCE
public static final QoS EXACTLY_ONCE
public static QoS[] values()
for (QoS c : QoS.values()) System.out.println(c);
public static QoS 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 int getValue()
Copyright © 2025 MuleSoft, Inc.. All rights reserved.