You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (JIRA)" <ji...@apache.org> on 2015/10/08 18:48:26 UTC

[jira] [Resolved] (QPIDJMS-118) timed dequeue calls on the local queue can return before they should

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

Robbie Gemmell resolved QPIDJMS-118.
------------------------------------
    Resolution: Fixed

> timed dequeue calls on the local queue can return before they should
> --------------------------------------------------------------------
>
>                 Key: QPIDJMS-118
>                 URL: https://issues.apache.org/jira/browse/QPIDJMS-118
>             Project: Qpid JMS
>          Issue Type: Bug
>          Components: qpid-jms-client
>    Affects Versions: 0.5.0
>            Reporter: Robbie Gemmell
>            Assignee: Robbie Gemmell
>             Fix For: 0.6.0
>
>
> The client uses a local queue in each consumer to hold messages prior to receive/onMessage processing using them. When a timed dequeue is performed, it is currently possible for the dequeue call to erroneously return early before they should have, prior to the timeout expiring (excepting the desired  cases such a message arriving or the queue being been closed etc) because the method does not ensure it has actually waited for the requested time.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org