Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-5222

Issue with Purge Inactive Destination feature

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 5.9.1
    • None
    • Broker
    • None
    • Windows 7. JDK1.6

    Description

      I enabled deletion of Inactive Queue for POC every 10 seconds
      <policyEntry queue=">" producerFlowControl="true" memoryLimit="20mb" gcInactiveDestinations="true" inactiveTimoutBeforeGC="10000">.

      Now I start a Consumer Listener process..The Queue is created and then it is deleted though Consumer is still running and Active..I would expect this to should not be deleted as it still has active Queue

      Looking @ code BaseDestination->markForGC(long timeStamp) & BaseDestination->canGC() seems to be suspect based on usage from RegionBroker->purgeInactiveDestinations

      Attachments

        Activity

          People

            Unassigned Unassigned
            anandverma Anand Verma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: