Details

    • Sub-task
    • Resolution: Done
    • Major
    • JBossAS-4.0.5.GA
    • None
    • JMS (JBossMQ)
    • None

    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 ?

      Attachments

        Activity

          People

            adrian.brock Adrian Brock (Inactive)
            luc.texier Luc Texier (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: