public interface AmqpTransactionCoordinator
Distributed Transactions: A distributed transaction where operations spans over different message broker entities. For example an application receive from entity 'A' and sends to entity 'B' and 'C' and all these operations are part of one transaction.
| Modifier and Type | Method and Description |
|---|---|
Mono<AmqpTransaction> |
declare()
This creates the transaction on the message broker.
|
Mono<Void> |
discharge(AmqpTransaction transaction,
boolean isCommit)
This completes the transaction on the message broker.
|
Mono<Void> discharge(AmqpTransaction transaction, boolean isCommit)
transaction - that needs to be completed on the message broker.isCommit - this flag indicates that the operations associated with this transaction should commit or
rollback.Mono.Mono<AmqpTransaction> declare()
AmqpTransactionCoordinator.discharge(AmqpTransaction, boolean) API.AmqpTransaction.Copyright © 2021 Microsoft Corporation. All rights reserved.