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

Deadlock on producerWindow.waitForSpace() in ActiveMQMessageProducer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 5.2.0
    • 5.3.0
    • Broker
    • None
    • Patch Available

    Description

      It seems, that producer throttling with producerWindow enabled doesn't work at all. I'm attaching unit test for this. After sending about ~80msg producer stops and never resumes sending.
      The problem is that producerWindow is not started ActiveMQMessageProducer. There must be something like this:
      producerWindow.start();
      I'm also attaching patch for this bug

      Attachments

        1. producer.patch
          0.8 kB
          Danielius Jurna
        2. ProducerFlowControlTest.patch
          2 kB
          Danielius Jurna
        3. ProducerFlowControlTest.java
          10 kB
          Danielius Jurna
        4. producer.patch
          0.7 kB
          Danielius Jurna

        Activity

          People

            gtully Gary Tully
            jurna Danielius Jurna
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: