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

Inflight message size counter is not decremented on message expiration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.15.13
    • 5.16.0, 5.15.14
    • Broker
    • None

    Description

      I discovered an issue where the Inflight message size counter is not decremented properly if a Prefetch consumer (durable or queue) expires the message and sends an expiration ack back to the broker. The issue is simply the original commit for this feature missed that location to decrement the size when the message was removed from dispatch.

      This Jira will fix that issue and will also clean up the handling of inflight message size and count inside of PrefetchSubscription to be a little cleaner, easier to follow and less error prone.

      Attachments

        Issue Links

          Activity

            People

              cshannon Christopher L. Shannon
              cshannon Christopher L. Shannon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: