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

ignoreNetworkConsumers should be available in AbortSlowConsumerStrategy

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 5.9.0
    • 5.12.0
    • Broker
    • None

    Description

      When AbortSlowAckConsumerStrategy.ignoreNetworkConsumers was introduced in https://git-wip-us.apache.org/repos/asf?p=activemq.git;a=commit;h=77bcffc9, its placement in AbortSlowAckConsumerStrategy means it can't be used with AbortSlowConsumerStrategy. Without it, abortConnection="true" causes the broker-to-broker network connectors to be aborted but not re-established, as described in http://irclogs.dankulp.com/logs/irclogger_log/activemq?date=2013-09-16,Mon&text=off, http://activemq.2283324.n4.nabble.com/Dropping-slow-consumers-td4671468.html, and http://activemq.2283324.n4.nabble.com/abortConnection-quot-true-quot-td4685674.html.

      AbortSlowConsumerStrategy would benefit from being able to use this flag, so it should be moved up, and the AbortSlowConsumerStrategy code should be updated to use it, and to allow it to be set via the XML config.

      Attachments

        1. AMQ5371.patch
          5 kB
          Timothy A. Bish

        Activity

          People

            Unassigned Unassigned
            tbain98 Tim Bain
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: