[ 
https://issues.apache.org/jira/browse/QPID-2621?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Ritchie updated QPID-2621:
---------------------------------

    Attachment: QueueBrowserOnStoppedConnection.java

> Calling QueueBrowser.getEnumeration on a stopped connection will hang
> ---------------------------------------------------------------------
>
>                 Key: QPID-2621
>                 URL: https://issues.apache.org/jira/browse/QPID-2621
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: M3, M4, 0.5, 0.6
>            Reporter: Martin Ritchie
>             Fix For: 0.7
>
>         Attachments: QueueBrowserOnStoppedConnection.java
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to