Interface TransactionOperation

All Known Implementing Classes:
FinishPageMessageOperation, PostOfficeImpl.AddOperation, RefsOperation, TransactionOperationAbstract, TXLargeMessageConfirmationOperation

public interface TransactionOperation
A TransactionOperation
  • Method Details

    • beforePrepare

      void beforePrepare(Transaction tx) throws Exception
      Throws:
      Exception
    • afterPrepare

      void afterPrepare(Transaction tx)
      After prepare shouldn't throw any exception.

      Any verification has to be done on before prepare

    • beforeCommit

      void beforeCommit(Transaction tx) throws Exception
      Throws:
      Exception
    • afterCommit

      void afterCommit(Transaction tx)
      After commit shouldn't throw any exception.

      Any verification has to be done on before commit

    • beforeRollback

      void beforeRollback(Transaction tx) throws Exception
      Throws:
      Exception
    • afterRollback

      void afterRollback(Transaction tx)
      After rollback shouldn't throw any exception.

      Any verification has to be done on before rollback

    • getRelatedMessageReferences

      List<MessageReference> getRelatedMessageReferences()
    • getListOnConsumer

      List<MessageReference> getListOnConsumer(long consumerID)