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

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 7.2.1.CR1, 7.2.1.GA
    • 7.1.5.GA
    • ActiveMQ
    • None

      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.

            rhn-support-ivassile Ilia Vassilev
            rhn-support-bmaxwell Brad Maxwell
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: