activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <tb...@alumni.duke.edu>
Subject Re: data of "Enqueued" and "Dequeued" messages are lost after restart of ActiveMQ
Date Thu, 08 Oct 2015 03:20:59 GMT
Pending counts are preserved because you have persistent messages and a
persistence store and there are messages in it when the broker started, not
because the broker actually saved the count.  As Chris said, there's
currently no means to preserve that information across a restart, though
you could submit an enhancement request in JIRA.  (And if you want the best
odds of it getting implemented, implement the changes yourself and submit a
patch or a pull request!)

Tim
On Oct 7, 2015 10:09 AM, "Christopher Shannon" <
christopher.l.shannon@gmail.com> wrote:

> There is currently no way to preserve this information as it is only kept
> in memory and not persisted anywhere between restarts.
>
> On Wed, Oct 7, 2015 at 9:55 AM, rosy.salame@murex.com <
> rosy.salame@murex.com
> > wrote:
>
> > Hello,
> >
> > I've lost statistics about "Enqueued" and "Dequeued" messages for all my
> > queues after a restart of my ActiveMQ where they become all ZEROS as
> > attached picture shows:
> > <http://activemq.2283324.n4.nabble.com/file/n4702713/activemq.jpg>
> >
> > Is there a way/configuration to keep those values even if a restart of
> > ActiveMQ is done? Actually, I need them for statistics. The good thing is
> > that pending messages are kept after restart, but, is there a way to
> > preserve data of "Enqueued" and "Dequeued" as well?
> >
> > Thanks,
> > Rosy
> >
> >
> >
> > --
> > View this message in context:
> >
> http://activemq.2283324.n4.nabble.com/data-of-Enqueued-and-Dequeued-messages-are-lost-after-restart-of-ActiveMQ-tp4702713.html
> > Sent from the ActiveMQ - User mailing list archive at Nabble.com.
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message