[
https://issues.apache.org/jira/browse/QPIDJMS-71?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14580782#comment-14580782
]
ASF subversion and git services commented on QPIDJMS-71:
--------------------------------------------------------
Commit 394946a6dfb16e7f4d79cb2152efaf7f4e38a82f in qpid-jms's branch
refs/heads/master from Robert Gemmell
[ https://git-wip-us.apache.org/repos/asf?p=qpid-jms.git;h=394946a ]
QPIDJMS-71: ensure recieve(0) doesnt just fall through, consolidate recieve()
and recieve(timeout) as single implementation
> calling receive(0) on a consumer always returns null
> ----------------------------------------------------
>
> Key: QPIDJMS-71
> URL: https://issues.apache.org/jira/browse/QPIDJMS-71
> Project: Qpid JMS
> Issue Type: Bug
> Components: qpid-jms-client
> Affects Versions: 0.2.0
> Reporter: Robbie Gemmell
> Assignee: Robbie Gemmell
> Priority: Minor
> Fix For: 0.3.0
>
>
> Message consumers have a receive method that takes a timeout. If 0 is
> supplied, the consumer is meant to wait indefinitely for a message to arrive
> (i.e the same as the no arg receive() call), however instead it currently
> always returns null.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]