activemq-users mailing list archives

Awesome, this makes it easier to understand what I need to do but in the scheme of things we
do not have an on-site java developer to help build/code any classes so I’m kind of being
the admin of this application out of the box for now. Our vendor required we use it to coincide
with their new API’s. the only difference is our environment is different than theirs so
we can’t just copy down their configs.
BTW we are running Apache ActiveMQ version: 5.6.0-4.0
I do believe we have camel route enabled. I opened the jar file we have and see there is a
bunch of camel classes under “org\apache\activemq\camel\component” such as: CalemEndpointLoader,
ActiveMQComponent, JournalEndpoint and within “org\apache\activemq\camel” I have about
12 different camel classes like: CamelConnection, CamelQueue, CamelMessageCOnsumer etc.
To answer/ comment on your statements below:
The configuration you’ve got below will enable the statistics plugin - that’s step one.
**I enabled that configuration within the dev environment I have.
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.
**What kind of process, are you saying write some code to do this within java? Do you have
an example or steps on what needs to be done? Unfortunately the camel.apache.org docs assume
im a java developer in their terminology.
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.
**I have splunk installed within my DEV environment and its reading the activemq.log and kahadb.log.
It is however not reading the camel components. Can you give any assistance on setting this
up? It looks like I need to add some XML to the MAVEN\pom.xml which I assume is within the
activeMQ.jar file (I opened/spoke about above)
Greg Melasecca
Analyst - IS Shared Services
1.610.612.5782 (work)
1.302.250.2519 (cell)
[cid:image001.png@01D16EFE.AFA2B6C0]
From: hqstevenson [via ActiveMQ] [mailto:ml-node+s2283324n4708216h41@n4.nabble.com]
Sent: Wednesday, February 24, 2016 10:47 AM
To: Melasecca, Gregory <Gregory.Melasecca@GenesisHCC.com>
Subject: Re: Daily Message Count - HELP
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 <[hidden email]</user/SendEmail.jtp?type=node&node=4708216&i=0>>
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] [mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4708216&i=1>
<mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4708216&i=2>>]
> Sent: Tuesday, February 23, 2016 10:29 PM
> To: Melasecca, Gregory <[hidden email]</user/SendEmail.jtp?type=node&node=4708216&i=3>
<mailto:[hidden email]</user/SendEmail.jtp?type=node&node=4708216&i=4>>>
> Subject: Re: Daily Message Count - HELP
>
> We use the ActiveMQ Statistics Plugin ( http://activemq.apache.org/statisticsplugin.html
<http://activemq.apache.org/statisticsplugin.html> <http://activemq.apache.org/statisticsplugin.html
<http://activemq.apache.org/statisticsplugin.html>> )
>
> 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>>
wrote:
>>
>> 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 messagebroker.properties. I am looking into adding
>> the "producerFlowControl=" feature for the max consumed queues.
>>
>> system.memory.limit = 3072mb
>> system.storage.limit = 10gb
>> system.temp.limit = 10gb
>> producer.memory.limit = 200mb
>>
>>
>>
>> --
>> View this message in context: http://activemq.2283324.n4.nabble.com/Daily-Message-Count-HELP-tp4708157.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>
> ________________________________
> If you reply to this email, your message will be added to the discussion below:
> http://activemq.2283324.n4.nabble.com/Daily-Message-Count-HELP-tp4708157p4708203.html
<http://activemq.2283324.n4.nabble.com/Daily-Message-Count-HELP-tp4708157p4708203.html>
> To unsubscribe from Daily Message Count - HELP, click here< href="" target="_top"
rel="nofollow" link="external">
> NAML<http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
<http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>>
> 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) <http://activemq.2283324.n4.nabble.com/attachment/4708214/0/image001.png
<http://activemq.2283324.n4.nabble.com/attachment/4708214/0/image001.png>>
>
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nabble.com/Daily-Message-Count-HELP-tp4708157p4708214.html
<http://activemq.2283324.n4.nabble.com/Daily-Message-Count-HELP-tp4708157p4708214.html>
> Sent from the ActiveMQ - User mailing list archive at Nabble.com <http://nabble.com/>.
________________________________
If you reply to this email, your message will be added to the discussion below:
http://activemq.2283324.n4.nabble.com/Daily-Message-Count-HELP-tp4708157p4708216.html
To unsubscribe from Daily Message Count - HELP, click here<http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4708157&code=Z3JlZ29yeS5tZWxhc2VjY2FAZ2VuZXNpc2hjYy5jb218NDcwODE1N3wtMjAzMzMzODQ5MA==>.
NAML<http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
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) <http://activemq.2283324.n4.nabble.com/attachment/4708221/0/image001.png>
--
View this message in context: http://activemq.2283324.n4.nabble.com/Daily-Message-Count-HELP-tp4708157p4708221.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.