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