Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Metric lastMessageTimestamp can be captured from the modification time of metric enqueues:
statsMessage.setLong("lastMessageTimestamp", stats.getEnqueues().getLastSampleTime());
Disclaimer: disadvantage of such approach is that after broker restart this value is holding start time of the broker (which may be relevant when the frequency of broker restarts is comparable to the frequency of enqueued messages)
Attachments
Issue Links
- relates to
-
AMQ-8463 Add advancedMessageStatistics to destinations
- Reopened