qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajith Attapattu (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Closed: (QPID-791) Queue Browser hangs if no messages in the queue
Date Fri, 04 Jul 2008 03:00:31 GMT

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

Rajith Attapattu closed QPID-791.
---------------------------------


> Queue Browser hangs if no messages in the queue
> -----------------------------------------------
>
>                 Key: QPID-791
>                 URL: https://issues.apache.org/jira/browse/QPID-791
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: M3
>            Reporter: Rajith Attapattu
>            Assignee: Rajith Attapattu
>             Fix For: M3
>
>
> The getEnumeration method in the AMQQueueBrowser class does a receive() that will block
if there are no messages in the queue.
> This is not the correct behaviour for a Queue Browser. If no messages are there it should
return.
> We should use receive(timeout) instead.

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


Mime
View raw message