I Created Java message listener, how to monitor or alert when listener is down. I have tried with JConsole is there any other way I should use.
Asked
Active
Viewed 63 times
2 Answers
1
If the message broker you are using ships with a web console, you can use that. Like these for rabbitmq and activemq:
https://www.rabbitmq.com/management.html
http://activemq.apache.org/web-console.html

ritesh.garg
- 3,725
- 1
- 15
- 14
1
ActiveMQ provides Advisory Messages, which allows you to watch the system using regular JMS messages.
Also note that what is "visible" with JConsole can be accessed programmatically, using JMX. Have a look at How to programmatically check JMX MBean operations and attributes?. JMX mbeans, attributes and operation can also been accesses through HTTP with Jolokia.

Community
- 1
- 1

Alexandre Cartapanis
- 1,513
- 3
- 15
- 19