Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-2122

message age alert / notification only checks the age of the first message in the QueueEntryList

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • M2.1, M3, M4, 0.5
    • JIRA Cleanup
    • Broker-J

    Description

      Message age alert / notification only checks the age of the first message in the queue entry list.

      The housekeeping thread checks message status for each queue. During the process it iterates over given queue performing a notification check on each message (if it has not expired), however the actual notification check for message age ignores the message provided and simply requests the oldest message arrival time from the queue, then checks whether this time was before the limit imposed by subtracting the threshold time from the current time. The queue provides this time by getting the message at the head of the QueueEntryList and checking its arrival time. Moving or copying messages between queues using the management interfaces is one example of where the time provided by such a check may not actually be the arrival time of the oldest message on the queue, as moved/copied messages are enqueued at the end of the queue but may infact be older than those at the beginning of the queue.

      Attachments

        Activity

          People

            Unassigned Unassigned
            robbie Robbie Gemmell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: