You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Lionel Cons (JIRA)" <ji...@apache.org> on 2016/07/21 14:21:20 UTC

[jira] [Commented] (ARTEMIS-646) Add a JMX attribute for the number of expired messages

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

Lionel Cons commented on ARTEMIS-646:
-------------------------------------

It seems that currently the {{MessagesAcknowledged}} attribute of the Core queue is incremented when a message expires and leaves the queue.

With a separate attribute to count the expired messages, it would probably make sense to increment {{MessagesAcknowledged}} only in case of successful delivery and not in case of expiration. See also ARTEMIS-647 for unsuccessful deliveries not linked to expiration.

> Add a JMX attribute for the number of expired messages
> ------------------------------------------------------
>
>                 Key: ARTEMIS-646
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-646
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>            Reporter: Lionel Cons
>
> ActiveMQ 5.x exposes in JMX an {{ExpiredCount}} attribute representing the number of messages that have been removed from the destination because they have expired. This works both for queues and for topics.
> This information is missing from Artemis, could it please be added?
> Ideally this attribute should appear both in Core and in JMS, like {{MessagesAdded}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)