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

Calling QueueBrowser.getEnumeration on a stopped connection will hang

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • M3, M4, 0.5, 0.6
    • 0.15
    • JMS AMQP 0-x
    • 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

            robbie Robbie Gemmell
            ritchiem Martin Ritchie
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: