Queue browser waits 1s when the queue is empty 
-----------------------------------------------

                 Key: QPID-1643
                 URL: https://issues.apache.org/jira/browse/QPID-1643
             Project: Qpid
          Issue Type: Bug
          Components: Java Client
    Affects Versions: M4
            Reporter: Arnaud Simon
             Fix For: M5


Description 
When the queue is empty then a Queue browser waits 1s before returning null and 
when the enumeration is created. 
Solution
The implementation should use a receive no wait instead of a receive with a 1s 
delay: "consumer.receive(1000);" 



-- 
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-subscr...@qpid.apache.org

Reply via email to