Looks like Tim beat me to it, and with a better answer. Tim
On Sat, Jul 13, 2019, 10:23 AM Tim Bain <tb...@alumni.duke.edu> wrote: > As Tim Bish wrote in his answer here ( > https://stackoverflow.com/questions/21747227/view-delayed-messages-in-activemq), > "The scheduled messages are kept in a separate store and only injected into > the broker once their scheduled time arrives so they won't show up in the > web console." > > So if any JMX counters exist, they would be 1) global across all scheduled > messages rather than per-destination, and 2) associated with the MBeans for > the scheduled store (if those exist) rather than with the MBeans for > individual destinations. I don't personally know whether the scheduled > store actually has MBeans, but that should be straightforward for you to > check. > > Tim > > On Fri, Jul 12, 2019, 10:05 PM Justin Bertram <jbert...@apache.org> wrote: > >> The names of the metrics he mentioned match those from 5.x and not Artemis >> so I assume he's asking about 5.x. >> >> However, it's worth noting that Artemis does track delayed/scheduled >> messages using the ScheduledCount metric on the QueueControl MBean. I >> don't >> see a way to do this in 5.x. Artemis also supports JMS 2.0 whereas 5.x >> doesn't. >> >> >> Justin >> >> On Fri, Jul 12, 2019 at 9:25 PM Tim Bain <tb...@alumni.duke.edu> wrote: >> >> > Is this question about 5.x or Artemis? >> > >> > Tim >> > >> > On Fri, Jul 12, 2019, 5:05 PM COURTAULT Francois < >> > francois.courta...@thalesgroup.com> wrote: >> > >> > > Hello >> > > >> > > The question is in the subject. >> > > Is it possible to use JMX ? I have tried to find some counters without >> > any >> > > success :( >> > > Only: >> > > >> > > * DequeueCount >> > > >> > > * DispatchCount >> > > >> > > * EnqueueCount >> > > >> > > * ExpiredCount >> > > >> > > * InFlightCount >> > > >> > > But no DelayedCount ! >> > > >> > > Does JMS 2.0 API can be used for delaying message (eg >> setDeliveryDelay >> > > method on a JMSProducer) ? >> > > >> > > >> > > Best Regards. >> > > >> > > ________________________________ >> > > This message and any attachments are intended solely for the >> addressees >> > > and may contain confidential information. Any unauthorized use or >> > > disclosure, either whole or partial, is prohibited. >> > > E-mails are susceptible to alteration. Our company shall not be liable >> > for >> > > the message if altered, changed or falsified. If you are not the >> intended >> > > recipient of this message, please delete it and notify the sender. >> > > Although all reasonable efforts have been made to keep this >> transmission >> > > free from viruses, the sender will not be liable for damages caused >> by a >> > > transmitted virus. >> > > >> > >> >