[ 
https://issues.apache.org/jira/browse/QPID-2122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robbie Gemmell updated QPID-2122:
---------------------------------

    Labels: jmx_interface  (was: )
    
> message age alert / notification only checks the age of the first message in 
> the QueueEntryList
> -----------------------------------------------------------------------------------------------
>
>                 Key: QPID-2122
>                 URL: https://issues.apache.org/jira/browse/QPID-2122
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker, Java Management : JMX Interface
>    Affects Versions: M2.1, M3, M4, 0.5
>            Reporter: Robbie Gemmell
>            Priority: Minor
>              Labels: jmx_interface
>             Fix For: JIRA Cleanup
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to