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

QueueBrowser hangs when browsing large queues

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 5.8.0
    • 5.9.0
    • Broker
    • All

    Description

      When trying to browse a queue with a QueueBrowser, the browsing will hang and never complete. This appears to happen only with "a lot" of message in the queue. 1000 messages works correctly, but 10000 hangs.

      I have attached a unit test that exhibits the problem. Change the "messageToSend" variable in the test method to see the difference between small queue size and large queue size.

      I've attached the unit test code as well as the output from one of the runs with 10000 messages.

      Attachments

        1. AMQ4595Test.java
          5 kB
          Timothy A. Bish
        2. amq-test-20130621T155120.log
          2.25 MB
          Nicholas Rahn
        3. AMQ580BrowsingBug.java
          4 kB
          Nicholas Rahn

        Issue Links

          Activity

            People

              tabish Timothy A. Bish
              ravv Nicholas Rahn
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: