Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-2621

Calling QueueBrowser.getEnumeration on a stopped connection will hang

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: M3, M4, 0.5, 0.6
    • Fix Version/s: 0.15
    • Component/s: JMS AMQP 0-x
    • Labels:
      None

      Description

      We use a non-consuming recevier to implement a QueueBrowser, as a result the connection must be started for it to work.

      The ActiveMQ list documented (in 2004) its behaviour against JBoss: http://osdir.com/ml/java.activemq.devel/2005-04/msg00046.html

      ActiveMQ reports empty set JBoss gives queue data.

      I think an empty list gives the wrong idea and technically we can't easily provide the queue data.

      So the best thing to do would be to throw an IllegalStateException to highlight the issue.

      Will attach test

        Attachments

          Activity

            People

            • Assignee:
              gemmellr Robbie Gemmell
              Reporter:
              ritchiem Martin Ritchie
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: