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

Rajith Attapattu resolved QPID-791.
-----------------------------------

    Resolution: Fixed

This issue is fixed in 627629 in trunk. I added a timeout for the receive 
method.
Ideally this timeout used in the QueueBrowser should be configurable.

Rajith

> 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.

Reply via email to