[Java Broker] Possible message loss on requeuing of messages on shared queues
-----------------------------------------------------------------------------

                 Key: QPID-831
                 URL: https://issues.apache.org/jira/browse/QPID-831
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
    Affects Versions: M2.1
            Reporter: Rob Godfrey
             Fix For: M2.1


Changes introduced in QPID-711 to introduce QueueEntry class made worse an 
existing "misuse" of getDeliveredToConsumer a property of the message.  Earlier 
changes for putting messages on PDQs had used this property as a proxy for 
whether the queue entry had already been delievered.  This is an incorrect 
usage when a Message has been delivered to multiple queues.

Fix is to remove the attempted shortcut logic for delivering to PDQs; also use 
taken( ) rather than getDTC for adjusting queue size on message expiration.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to