Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-1856

Add support for delays before deleting addresses and queues

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0
    • Component/s: None
    • Labels:
      None

      Description

      By default, Artemis deletes inactive addresses and empty queues. This is good to minimize the resources used.

      However, this is problematic for monitoring because counters (like the numbers of received and sent messages) are attached to these objects that get deleted. So a monitoring tool periodically probing the broker may miss these objects that get immediately deleted.

      It would be good to add support for delays. An object would not be immediately deleted but would stay in the broker for a configurable period of time, so that monitoring tools get a chance to get its counters.

      Note that this feature (delayed deletion) already exists in ActiveMQ 5. See the gcInactiveDestinations, schedulePeriodForDestinationPurge and inactiveTimoutBeforeGC parameters in http://activemq.apache.org/delete-inactive-destinations.html.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jbertram Justin Bertram
                Reporter:
                lionel.cons Lionel Cons
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: