public interface TransactionOperation
| Modifier and Type | Method and Description |
|---|---|
void |
afterCommit(Transaction tx)
After commit shouldn't throw any exception.
|
void |
afterPrepare(Transaction tx)
After prepare shouldn't throw any exception.
|
void |
afterRollback(Transaction tx)
After rollback shouldn't throw any exception.
|
default void |
afterRollback(Transaction tx,
boolean sorted) |
void |
beforeCommit(Transaction tx) |
void |
beforePrepare(Transaction tx) |
void |
beforeRollback(Transaction tx) |
List<MessageReference> |
getListOnConsumer(long consumerID) |
List<MessageReference> |
getRelatedMessageReferences() |
void beforePrepare(Transaction tx) throws Exception
Exceptionvoid afterPrepare(Transaction tx)
Any verification has to be done on before prepare
void beforeCommit(Transaction tx) throws Exception
Exceptionvoid afterCommit(Transaction tx)
Any verification has to be done on before commit
void beforeRollback(Transaction tx) throws Exception
Exceptionvoid afterRollback(Transaction tx)
Any verification has to be done on before rollback
default void afterRollback(Transaction tx, boolean sorted)
List<MessageReference> getRelatedMessageReferences()
List<MessageReference> getListOnConsumer(long consumerID)
Copyright © 2022 JBoss by Red Hat. All rights reserved.