public enum RepeatAction extends java.lang.Enum<RepeatAction>
MessageRepeater
Enum Constant and Description |
---|
Repeat
A message consumer uses this flag to cause re-delivery of the message.
|
Stop
A message consumer uses this flag to indicate the message has been
consumed fully and must not be re-delivered.
|
Modifier and Type | Method and Description |
---|---|
static RepeatAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RepeatAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RepeatAction Repeat
public static final RepeatAction Stop
public static RepeatAction[] values()
for (RepeatAction c : RepeatAction.values()) System.out.println(c);
public static RepeatAction 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