Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-1910

MessageReference leak in PersistentQueue if PersistenceManager throws an exception during add()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JBossAS-4.0.3RC1
    • JBossAS-3.2.5 Final, JBossAS-4.0.0 Final, JBossAS-3.2.6 Final, JBossAS-3.2.7 Final, JBossAS-4.0.1 Final, JBossAS-4.0.1 SP1, JBossAS-4.0.2 Final
    • JMS (JBossMQ)
    • None

      org.jboss.mq.server.PersistentQueue does not trap errors from PersistenceManager.add()
      this could lead to the message that was failed to be added not being removed from the message cache.

      If the persistence manager fails to store the message, it should trap the error
      and remove the message from the cache, before rethrowing the exception.

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

              Created:
              Updated:
              Resolved: