How to monitor java threads and ActiveMQ

Hi Team,

Currently i'm using Kibana,Elasticsearch,Logstash 5.5.2.
Can any suggest how can i monitor ActiveMQ and threads by ELK? I have multiple routes in my fuse environment. I have to monitor each route threads using ELK.

What kind of metrics from threads are available? Are they published via JMX?

I have to monitor the memory and thread of each route via JMX. Is it possible to monitor by metricbeat?

Yes. Take a look into https://www.elastic.co/blog/brewing-in-beats-add-support-for-jolokia-lmx and also https://www.elastic.co/guide/en/beats/metricbeat/5.6/metricbeat-module-jolokia.html

Hey Thanks,
It is useful.
I have even monitored the ActiveMQ.

But how can i visualise the Enqueue, Dequeue, DispatchCount with respect to QueueName?

Unfortunately I am not really familiar with ActiveMQ metrics, so I can not tell you exactly where to get this data.

As long as you can make ActiveMQ publish these metrics using JMX, then you can monitor it.

Thanks