public enum RemovalStrategy extends Enum<RemovalStrategy>
| Enum Constant and Description |
|---|
EXPLICIT
The exchange or queue will only be removed when a delete operation is performed.
|
SHUTDOWN
The exchange or queue will be removed when the server is shutdown or restarted
|
UNUSED
The exchange or queue will be removed when there are no queues bound to it.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAutoDelete() |
boolean |
isDurable() |
static RemovalStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RemovalStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RemovalStrategy EXPLICIT
public static final RemovalStrategy SHUTDOWN
public static final RemovalStrategy UNUSED
public static RemovalStrategy[] values()
for (RemovalStrategy c : RemovalStrategy.values()) System.out.println(c);
public static RemovalStrategy 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 boolean isDurable()
public boolean isAutoDelete()
Copyright © 2025 MuleSoft, Inc.. All rights reserved.