You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org> on 2010/05/20 11:20:53 UTC

[jira] Created: (QPID-2621) Calling QueueBrowser.getEnumeration on a stopped connection will hang

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: 0.6, 0.5, M4, M3
            Reporter: Martin Ritchie
             Fix For: 0.7


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:dev-subscribe@qpid.apache.org


[jira] Updated: (QPID-2621) Calling QueueBrowser.getEnumeration on a stopped connection will hang

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
     [ 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:dev-subscribe@qpid.apache.org