SimpleAMQQueue getMessagesRangeOnTheQueue(from,to) incorrectly shows the last 
message on a queue following its deletion
-----------------------------------------------------------------------------------------------------------------------

                 Key: QPID-2036
                 URL: https://issues.apache.org/jira/browse/QPID-2036
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
    Affects Versions: 0.6
            Reporter: Robbie Gemmell
            Assignee: Robbie Gemmell
             Fix For: 0.6


As part of the widening of the AMQQueue MBean viewMessages(from,to) operation 
to take Long parameters, the getMessagesRangeOnTheQueue(from,to) method was 
added to SimpleAMQQueue. 

Whilst otherwise returning correct results, if the final message on the queue 
is deleted through specific deletion or clearing the queue, the message remains 
in the list returned from getMessagesRangeOnTheQueue() when it should not.

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


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to