[ 
https://issues.apache.org/jira/browse/QPID-5970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14089198#comment-14089198
 ] 

Rob Godfrey commented on QPID-5970:
-----------------------------------

Change also modifies AbstractServerMessageImpl to throw an exception when 
attempting to take a new reference to a message which has already been 
dereferenced.  This helps to ensure that requesting the arrival time for a 
message does not result in meta-data not found exceptions where the message has 
been removed from the store.

Before accessing message data, a thread should always ensure that it has a 
reference to the message.

> [Java Broker] Expose "age of oldest message on queue" to management apis
> ------------------------------------------------------------------------
>
>                 Key: QPID-5970
>                 URL: https://issues.apache.org/jira/browse/QPID-5970
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Broker
>            Reporter: Rob Godfrey
>            Assignee: Rob Godfrey
>             Fix For: 0.29
>
>
> The java broker currently provides alerting when the oldest message on a 
> given queue goes above a certain threshold.  We should add the 
> "oldestMessageAge" as a statistic on the Queue model and also calculate it 
> correctly for priority and sorted queues (currently it takes the age of the 
> message at the head of the queue which is not correct for non FIFO queues) 



--
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