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

Consuming problem with topics in ActiveMQ 5.14.1 with AMQP Qpid client

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.14.1
    • 5.15.0, 5.14.2
    • AMQP
    • None

    Description

      There could only be 500 topic messages be consumed with the AMQP Qpid client with ActiveMQ 5.14.1.

      Specific settings :

      • No prefetch sizes are set in a policyEntry of the activemq.xml.
      • No prefetch sizes are set in the brokerURL in the client code.

      We get the following situation (subscriber info) at the moment a subscriber
      connects with the Qpid client.
      The Inflight value becomes -1000 what is very strange.

      Pending Queue Size | Inflight | Enqueued | Dequeued | Prefetch
      0 | -1000 | 0 | 0 | 0

      We get the following situation when one topic message is published.
      The Inflight value increased with 2.

      Pending Queue Size | Inflight | Enqueued | Dequeued | Prefetch
      0 | -998 | 1 | 1 | 0

      We get the following situation when 500 topic messages are published.
      The Inflight value is now 0 and the 500 messages are consumed.

      Pending Queue Size | Inflight | Enqueued | Dequeued | Prefetch
      0 | 0 | 500 | 500 | 0

      At the moment message 501 is published increases the "Pending Queue Size" and the messages "Enqueued" as well. The "Dequeued" messages remains 500 and message 501 can't be consumed by the subscriber !

      Pending Queue Size | Inflight | Enqueued | Dequeued | Prefetch
      1 | 0 | 501 | 500 | 0

      Do somebody know what happens ? Do I something wrong or is it a real bug ?

      Patrick

      Attachments

        1. activemq.xml
          7 kB
          Patrick Vansevenant
        2. status when subscriber connects.png
          9 kB
          Patrick Vansevenant
        3. JmsClientUnitTest.java
          3 kB
          Patrick Vansevenant
        4. status when subscriber connects 5.14.0 and 5.14.1.png
          22 kB
          Patrick Vansevenant

        Activity

          People

            tabish Timothy A. Bish
            patrickv Patrick Vansevenant
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: