Andrew MacBean created QPID-5877:
------------------------------------

             Summary: Potential for rejected messages to be resent out of order
                 Key: QPID-5877
                 URL: https://issues.apache.org/jira/browse/QPID-5877
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
            Reporter: Andrew MacBean
            Assignee: Andrew MacBean


The AbstractQueue.getNextAvailableEntry implementation has the potential to 
choose the wrong node when lastSeen and releasedNode are the same. 

The logic currently uses the compareTo impl to determine which node to select 
but uses the > operator and so wont select releasedNode in the case were that 
and lastSeen are the same.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to