Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-16203

[GSS](7.2.z) PagingStore leak when deleting queue

    XMLWordPrintable

    Details

      Description

      When deleting a queue the JMSPostQueueDeletionCallback#callback will
      invoke PostOfficeImpl#getBindingsForAddress which will create a
      Bindings instance if one doesn't exist. This will trigger the creation
      of a PagingStore instance which will be stored by the PagingManager
      and may never be deleted. This is particularly problematic for use-cases
      involving temporary JMS queues.
      This change uses the lookupBindingsForAddress instead of
      getBindingsForAddress which doesn't implicitly create a Bindings
      instance.
      This problem doesn't exist on the master branch as the
      JMSPostQueueDeletionCallback no longer exists there.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ivassile Ilia Vassilev
              Reporter:
              bmaxwell Brad Maxwell
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: