Hello.

Now my broker gives some new JMX statistics, but I've doubts about the
computed values of "DequeueMessageTimestamp" :I supposed it was always the
timestamp of the last message consumption, but it seems it's not...

If I create a new queue, send one or more messages into it, and browse and
delete immediately at least one message, the value is set with the last
consumption (dequeue) time. The same for more messages deletion.

On the other hand, we have some queues containing very old messages; when I
browse and delete a message from one of them, I expected to have the same
last dequeue time, but instead of that, it seems that the dequeue timestamp
is set with a rather old timestamp (september 2025), that is probably some
attribute of an existing messages.

Is it a special behavior because I've added the statistics option later, or
will timestamps be computed this way when messages stay a long time in a
queue ?

This would mean that checking the DequeueMessageTimestamp to verify the
actual activity of some slow consumers will not give the expected result ?

Thanks for your help.

Regards.


Le mer. 25 mars 2026 à 18:58, Jean-Baptiste Onofré <[email protected]> a
écrit :

> I remember I worked on this property, but I don't remember the versions :)
>
> Let me check on the 5.19.x branch.
>
> Regards
> JB
>
> On Wed, Mar 25, 2026 at 5:49 PM Ephemeris Lappis <
> [email protected]>
> wrote:
>
> > Hello again.
> >
> > I've checked the schema that is referenced by the xml configuration (
> > https://activemq.apache.org/schema/core/activemq-core.xsd) and I don't
> see
> > any attribute like that :(
> >
> > Sure it's supported ?
> >
> > Thanks again.
> >
> > Le mer. 25 mars 2026 à 17:10, Jean-Baptiste Onofré <[email protected]> a
> > écrit :
> >
> > > So, on 5.19.x branch, statisticsEnabled is true by default.
> > >
> > > You can be changed at broker level with something like:
> > >
> > >   <broker enableStatistics="true" ...>
> > >     ...
> > >   </broker>
> > >
> > > So, on the Broker MBean, you should have true for the
> statisticsEnabled.
> > >
> > > I'm starting a 5.19.x broker to test.
> > >
> > > Regards
> > > JB
> > >
> > > On Wed, Mar 25, 2026 at 9:22 AM Ephemeris Lappis
> > > <[email protected]> wrote:
> > > >
> > > > Hello !
> > > >
> > > > I've tested both an element
> <statisticsEnabled>true</statisticsEnabled>
> > > or
> > > > an attribute advancedMessageStatisticsEnabled=“true” on policyEntry,
> > and
> > > > none is accepted on 5.19.0.
> > > > I see in Mbeans the flag for statistics that is disabled, so the
> > feature
> > > is
> > > > probably supported, but no way to activate it from the xml
> > configuration
> > > > file.
> > > >
> > > > An idea ?
> > > >
> > > > Thanks again for your help.
> > > >
> > > > Regards.
> > > >
> > > > Le mar. 24 mars 2026 à 15:27, Jean-Baptiste Onofré <[email protected]>
> a
> > > > écrit :
> > > >
> > > > > Yup, it's what I said in my previous email about the Queues.
> > > > >
> > > > > However, I think there's something that could be fixed about
> Topics.
> > > > >
> > > > > I will investigate this part too.
> > > > >
> > > > > Regards
> > > > > JB
> > > > >
> > > > > On Tue, Mar 24, 2026 at 3:16 PM Matt Pavlovich <
> [email protected]>
> > > > > wrote:
> > > > > >
> > > > > > Hi Ephemeris-
> > > > > >
> > > > > > This is a new set of observability metrics I added to recent
> > > releases.
> > > > > The setting is disabled by default.
> > > > > >
> > > > > > Simply, enable it in the policyEntry
> > > > > >
> > > > > > <policyEntry … advancedMessageStatisticsEnabled=“true” ..>
> > > > > >
> > > > > > Thanks,
> > > > > > Matt Pavlovich
> > > > > >
> > > > > > > On Mar 24, 2026, at 2:14 AM, Ephemeris Lappis <
> > > > > [email protected]> wrote:
> > > > > > >
> > > > > > > Hello.
> > > > > > >
> > > > > > > We need to monitor the activity of consumers on our broker, and
> > > we're
> > > > > > > looking how Jolokia (MBeans) fields like
> > "DequeuedMessageTimestamp"
> > > > > could
> > > > > > > help. But this kind of field seems to be unused by default.
> I've
> > > found
> > > > > no
> > > > > > > configuration entry to enable such statistics.
> > > > > > >
> > > > > > > An idea ?
> > > > > > >
> > > > > > > Thanks for your help.
> > > > > > >
> > > > > > > Regards.
> > > > > >
> > > > > >
> > > > > >
> > ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail: [email protected]
> > > > > > For additional commands, e-mail: [email protected]
> > > > > > For further information, visit:
> > https://activemq.apache.org/contact
> > > > > >
> > > > > >
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: [email protected]
> > > > > For additional commands, e-mail: [email protected]
> > > > > For further information, visit:
> https://activemq.apache.org/contact
> > > > >
> > > > >
> > > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [email protected]
> > > For additional commands, e-mail: [email protected]
> > > For further information, visit: https://activemq.apache.org/contact
> > >
> > >
> > >
> >
>

Reply via email to