public interface TransactionStateCheckListener
The associated message will be exposed to consumer when the local transaction has been committed, or be discarded if local transaction has been rolled back.
If the executor doesn't submit the transaction status for a long time, the server may lookup it forwardly through
check(Message, TransactionalContext)
Modifier and Type | Interface and Description |
---|---|
static interface |
TransactionStateCheckListener.TransactionalContext |
Modifier and Type | Method and Description |
---|---|
void |
check(Message message,
TransactionStateCheckListener.TransactionalContext context)
Checks the status of the local transaction branch.
|
void check(Message message, TransactionStateCheckListener.TransactionalContext context)
message
- the associated message.context
- the check context.Copyright © 2017–2020 OpenMessaging. All rights reserved.