Gordon Sim created QPID-5227:
--------------------------------

             Summary: 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]

Reply via email to