Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-1925 [GSoC 2009] Create a new UI for the JMX Management Console
  3. QPID-1961

widen viewMessages(int From, int To) AMQQueueMBean method to use Long values

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • M2.1, M3, M4, 0.5
    • 0.6
    • Broker-J

    Description

      The viewMessages() operation is inherently limited to viewing the first 2^31 undelivered messages on the queue at any given time due to its use of int parameters. Equally, getMessageCount() returns an int value. However, the SimpleAMQQueue implementation is not limited to 2^31 messages and so there is potential that not all messages can be viewed.

      This should be rectified by increasing the parameter range to Long. The viewMessages() implementation will then be limited to viewing ANY 2^31 messages on the queue as the TabularData OpenData result sets used to support generic JMX clients are also fixed in size by an int index.

      Attachments

        Activity

          People

            aidan Aidan Skinner
            robbie Robbie Gemmell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: