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 2009/04/11 01:59:14 UTC

[jira] Updated: (QPID-1643) Queue browser waits 1s when the queue is empty

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

Martin Ritchie updated QPID-1643:
---------------------------------

    Status: Ready To Review  (was: In Progress)

> 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
>            Assignee: Martin Ritchie
>             Fix For: 0.5
>
>
> 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-subscribe@qpid.apache.org