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
Exception
void afterPrepare(Transaction tx)
Any verification has to be done on before prepare
void beforeCommit(Transaction tx) throws Exception
Exception
void afterCommit(Transaction tx)
Any verification has to be done on before commit
void beforeRollback(Transaction tx) throws Exception
Exception
void 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 © 2021 JBoss by Red Hat. All rights reserved.