4

I'm experiencing an issue with ActiveMQ and would like to trace/view all ActiveMQ activity. The only log file I can find is one associated with persistent data (if this is turned on). Are there any other log files I view or generate to tell me what's happening under the hood of ActiveMQ and why my consumers aren't consuming messages? Any other suggestions?

Thanks in advance!

Community
  • 1
  • 1
BeachRunnerFred
  • 18,070
  • 35
  • 139
  • 238

3 Answers3

5

activemq has a jmx interface that you can connect to.

this gives us access to consumer counts messages queued dequeue and all sorts of data on memory usage etc.

http://activemq.apache.org/jmx.html

Has all the details to get you started.

I find it excellent in finding out whats going on with activemq.

A quick firing up of jconsole and you will be well on your way to finding out what is going on.

Paul

Paul Whelan
  • 16,574
  • 12
  • 50
  • 83
2

Agreed. Also you can add the logging interceptor which helps.

Finally for browsing messages, moving them, creating/deleting queues and sending message I highly recommend the new web console for ActiveMQ, Camel and many other plugins: hawtio

James Strachan
  • 9,168
  • 34
  • 31
1

Try HawtIO. Assuming you are not using Active MQ 5.9 you can add this feature to your broker. It is a much better web console and a good JMX monitoring utility as well.

http://www.christianposta.com/blog/?p=315

James Strachan
  • 9,168
  • 34
  • 31
Mahesh
  • 62
  • 1
  • 5