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