[
https://issues.apache.org/jira/browse/QPID-7591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15751497#comment-15751497
]
ASF subversion and git services commented on QPID-7591:
-------------------------------------------------------
Commit 1774469 from [~k-wall] in branch 'java/trunk'
[ https://svn.apache.org/r1774469 ]
QPID-7591: [Java Broker] Ensure that message reference is held for browsers
until the consumer target sends the message
> Broker may send a deleted message to a queue browser
> ----------------------------------------------------
>
> Key: QPID-7591
> URL: https://issues.apache.org/jira/browse/QPID-7591
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Affects Versions: qpid-java-6.2
> Reporter: Keith Wall
> Fix For: qpid-java-6.2
>
>
> The changes made by QPID-7514 inadvertently opened the possibility that a
> browser may receive a deleted message. Internally, for queue browser, the
> queue entries are not acquired. Instead, a message reference is taken. It
> is the responsibility of the consumer target to release the message
> reference.
> A coding error in AbstractQueue#attemptDelivery meant that the message
> reference was immediately released.
> This defect never formed part of a release.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]