Details

      Description

      Need to test BasicQueue.acknowledge()
      whether it should also add a PostRollback task for a NACK under a transaction.

      i.e.

      // Was it a negative acknowledge??
      if (!item.isAck)

      { Runnable task = new RestoreMessageTask(m); server.getPersistenceManager().getTxManager().addPostCommitTask(txId, task); + server.getPersistenceManager().getTxManager().addPostRollbackjTask(txId, task); }

      The hard part is wrting such a test since it is a normal condition.
      Probably need to use direct invocation on the server invoker ?

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                adrian.brock Adrian Brock
                Reporter:
                luc.texier Luc Texier
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: