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

consumer stop consuming message when using selector,what's the problem?

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 5.0.0, 5.1.0
    • 5.4.0
    • None
    • None
    • Windows XP SP2/SP3

    • Regression

    Description

      1. Start ActiveMQ 5.0 or 5.1 using the activemq.xml config file uploaded.
      2. Run TestProducer
      3. Open Browser : http://localhost:8165/admin,enter 'Queues' page,you can see now the 'Number of Pending Messages' of queue 'TEST' is 30000.
      4. Run TestConsumer,
      5. The Consumer will stop consuming messages, now you refresh the 'Queues' page, the 'Number of Pending Messages' is large than zero

      That's The problem, but why? Is the problem in my code or in ActiveMQ?

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--Test.zip
          7 kB
          elvis feng
        2. PendingMessage1.png
          23 kB
          elvis feng
        3. PendingMessage2.png
          23 kB
          elvis feng
        4. TestConsumer.png
          44 kB
          elvis feng
        5. TestProducer.png
          47 kB
          elvis feng

        Activity

          People

            gtully Gary Tully
            elvis_qy elvis feng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: