public static enum AMQPProperties.TransactionMode extends Enum<AMQPProperties.TransactionMode>
Enum Constant and Description |
---|
NONE
No transactional guarantees.
|
PUBLISHER_ACK
Indicates batches of messages should be sent and confirmed using Publisher Acknowledgements.
|
TRANSACTIONAL
Indicates batches of messages should be sent using a transaction.
|
Modifier and Type | Method and Description |
---|---|
static AMQPProperties.TransactionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AMQPProperties.TransactionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AMQPProperties.TransactionMode TRANSACTIONAL
public static final AMQPProperties.TransactionMode PUBLISHER_ACK
This setting does ensure that messages generated by the same Aggregate are published to the exchange in the order they were published by the aggregate.
Note that not all AMQP implementations support publisher acks.
public static final AMQPProperties.TransactionMode NONE
public static AMQPProperties.TransactionMode[] values()
for (AMQPProperties.TransactionMode c : AMQPProperties.TransactionMode.values()) System.out.println(c);
public static AMQPProperties.TransactionMode 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 © 2010–2018. All rights reserved.