activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Bish <tabish...@gmail.com>
Subject Re: Is there a way to monitor delayed message ?
Date Sat, 13 Jul 2019 16:09:22 GMT
On 7/13/19 12:04 AM, Justin Bertram 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.

How to see what's been scheduled

https://github.com/apache/activemq/blob/master/activemq-broker/src/main/java/org/apache/activemq/broker/jmx/JobSchedulerViewMBean.java


>
>
> Justin
>
> On Fri, Jul 12, 2019 at 9:25 PM Tim Bain <tbain@alumni.duke.edu> wrote:
>
>> Is this question about 5.x or Artemis?
>>
>> Tim
>>
>> On Fri, Jul 12, 2019, 5:05 PM COURTAULT Francois <
>> francois.courtault@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.
>>>

-- 
Tim Bish


Mime
View raw message