You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Arnaud Simon (JIRA)" <qp...@incubator.apache.org> on 2009/02/04 19:33:59 UTC

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

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


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

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
     [ 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


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

Posted by "Arnaud Simon (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arnaud Simon reassigned QPID-1643:
----------------------------------

    Assignee: Rafael H. Schloming

We'll need to fix the receive no wait issue first 

> 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: Rafael H. Schloming
>             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-subscribe@qpid.apache.org


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

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Ritchie reassigned QPID-1643:
------------------------------------

    Assignee: Martin Ritchie  (was: Rafael H. Schloming)

> 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


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

Posted by "Martin Ritchie (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Ritchie reassigned QPID-1643:
------------------------------------

    Assignee: Rafael H. Schloming  (was: Martin Ritchie)

Hi Rafi, is there any more work required?

> 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: Rafael H. Schloming
>             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