public static enum CachingConnectionFactory.ConfirmType extends Enum<CachingConnectionFactory.ConfirmType>
| Enum Constant and Description |
|---|
CORRELATED
Use with
CorrelationData to correlate confirmations with sent
messsages. |
NONE
Publisher confirms are disabled (default).
|
SIMPLE
Use
RabbitTemplate#waitForConfirms() (or waitForConfirmsOrDie()
within scoped operations. |
| Modifier and Type | Method and Description |
|---|---|
static CachingConnectionFactory.ConfirmType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CachingConnectionFactory.ConfirmType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CachingConnectionFactory.ConfirmType SIMPLE
RabbitTemplate#waitForConfirms() (or waitForConfirmsOrDie()
within scoped operations.public static final CachingConnectionFactory.ConfirmType CORRELATED
CorrelationData to correlate confirmations with sent
messsages.public static final CachingConnectionFactory.ConfirmType NONE
public static CachingConnectionFactory.ConfirmType[] values()
for (CachingConnectionFactory.ConfirmType c : CachingConnectionFactory.ConfirmType.values()) System.out.println(c);
public static CachingConnectionFactory.ConfirmType 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 null