[
https://issues.apache.org/jira/browse/QPID-5227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13795133#comment-13795133
]
ASF subversion and git services commented on QPID-5227:
-------------------------------------------------------
Commit 1532304 from [~gsim] in branch 'qpid/trunk'
[ https://svn.apache.org/r1532304 ]
QPID-5227: correct setting of redelivered flag
> redelivered flag not always set correctly
> -----------------------------------------
>
> Key: QPID-5227
> URL: https://issues.apache.org/jira/browse/QPID-5227
> Project: Qpid
> Issue Type: Bug
> Components: C++ Broker
> Affects Versions: 0.24
> Reporter: Gordon Sim
> Assignee: Gordon Sim
> Fix For: 0.25
>
>
> The broker tracks delivery count as per 1.0 specification. Mapping this to
> isRedelivered, the broker is simply testing the count is non-zero. However as
> the count is initialised to -1, this leads to the message incorrectly being
> marked as redelivered if it is first browsed. (Further, the first consume
> attempt then increments the delivery count so it appears the redlivery flag
> is flipped back to false).
--
This message was sent by Atlassian JIRA
(v6.1#6144)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]