activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Quinn Stevenson <>
Subject Re: Daily Message Count - HELP
Date Wed, 24 Feb 2016 16:13:01 GMT
The configuration you’ve got below will enable the statistics plugin - that’s step one.

Step two is to setup some process that periodically triggers the statistics plugin.  The Statistics
plugin will then put the acquired statistics on the JMS destination specified by the requester.
 This is pretty easy to do with a camel route embedded in the ActiveMQ broker, but it can
run anywhere.

Finally, you need something to read the statistics from the JMS destinations and do whatever
you want with them - I send them to Splunk using the camel-splunk component.

> On Feb 24, 2016, at 6:17 AM, gmelasecca <> wrote:
> Hqstevenson - I am not a java coder of any sort and really just starting out. So first
thanks for the article but im still unclear as to what I need to do. I have splunk installed
as a forwarder on the ActiveMQ server, which feeds the kahadb and activemq.log files to my
indexers and search head. I installed the JMS plug-in for splunk also but im getting JNDI
connection errors.
> That being said from your example, you are saying that I need to edit my activemq.xml
and add the below configuration string within <broker>, than restart ActiveMQ? DO I
need to implement code, classes etc?
>  <plugins>
>    <statisticsBrokerPlugin/>
>  </plugins>
> Regards,
> Greg Melasecca
> Analyst - IS Shared Services
> 1.610.612.5782 (work)
> 1.302.250.2519 (cell)
> [cid:image001.png@01D16EDF.23B7DE70] <cid:image001.png@01D16EDF.23B7DE70]>
> From: hqstevenson [via ActiveMQ] [ <>]
> Sent: Tuesday, February 23, 2016 10:29 PM
> To: Melasecca, Gregory < <>>
> Subject: Re: Daily Message Count - HELP
> We use the ActiveMQ Statistics Plugin (
<> <
<>> )
> We have a small camel route that runs on a timer, grabs the statistics from the plugin
and stores them in Splunk.
>> On Feb 23, 2016, at 3:33 PM, gmelasecca <[hidden email]</user/SendEmail.jtp?type=node&node=4708203&i=0>>
>> Evening - I am new to ActiveMQ and my current company is using the
>> application for a large set of applications/messages. We are working to
>> determine how to find the Daily or Hourly amount of messages the entire
>> application consumes or if possible what each queue consumes on a
>> daily/hourly basis. I know the home page offers me Store, Memory, Temp usage
>> but this doesn't help us tune our application to the specified needs.
>> It seems every couple of days we are having to delete or purge many queues
>> because we are reaching our store limit of "10gb". below is what our limits
>> are set at utilizing the I am looking into adding
>> the "producerFlowControl=" feature for the max consumed queues.
>> system.memory.limit        = 3072mb
>>   = 10gb
>> system.temp.limit          = 10gb
>> producer.memory.limit      = 200mb
>> --
>> View this message in context:
>> Sent from the ActiveMQ - User mailing list archive at
> ________________________________
> If you reply to this email, your message will be added to the discussion below:
> To unsubscribe from Daily Message Count - HELP, click here<
> This e-mail and any attachments may contain information which is confidential, proprietary,
privileged or otherwise protected by law. The information is solely intended for the named
addressee (or a person responsible for delivering it to the addressee). If you are not the
intended recipient of this message, you are not authorized to read, print, retain, copy or
disseminate this message or any part of it. If you have received this e-mail in error, please
notify the sender immediately by return e-mail and delete it from your computer.
> image001.png (11K) <
> --
> View this message in context:
> Sent from the ActiveMQ - User mailing list archive at <>.

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