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

Browse queue hangs with prefetch = 0

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.2.0
    • Fix Version/s: 5.5.0
    • Component/s: JMS client
    • Labels:
      None
    • Environment:

      Description

      Browsing a queue with prefetch = 0 blocks on the first read, see attached test case.

      1. AMQ2171.java
        3 kB
        Robert Gibson

        Activity

        Hide
        tabish121 Timothy Bish added a comment -

        fixed in trunk.

        Show
        tabish121 Timothy Bish added a comment - fixed in trunk.
        Show
        rgibson Robert Gibson added a comment - See also http://www.nabble.com/Forcing-queue-flush-through-to-consumers-browsers--to22621755.html and AMQ-2172
        Hide
        rgibson Robert Gibson added a comment -

        To be honest, I've only just started using ActiveMQ so perhaps this is expected behaviour - but I'm trying to program against the JMS API and it least to be counter to the spec for an enumeration to block on the hasMoreElements.

        Show
        rgibson Robert Gibson added a comment - To be honest, I've only just started using ActiveMQ so perhaps this is expected behaviour - but I'm trying to program against the JMS API and it least to be counter to the spec for an enumeration to block on the hasMoreElements.

          People

          • Assignee:
            tabish121 Timothy Bish
            Reporter:
            rgibson Robert Gibson
          • Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development