Приложение Monitor Spring Integration отлично подходит.
Я хотел бы добавить простой MBean для мониторинга приложения. Вот мой код:
package com.example;
import org.springframework.jmx.export.annotation.ManagedOperation;
import org.springframework.jmx.export.annotation.ManagedResource;
import org.springframework.stereotype.Component;
@Component
@ManagedResource(objectName="myapp:application=hello")
public class HelloBean {
@ManagedOperation
public String sayHello(String name) {
return "Hello " + name;
}
}
Я также добавил следующее в XML-файл spring-context:
<context:mbean-server />
<int-jmx:mbean-export id="integrationMBeanExporter" default-domain="spring.application" />
<bean id="helloBean" class="com.example.HelloBean" />
когда я смотрю в jVisualVM, я не вижу бин. Я вижу MessageChannel в домене spring.application, но не вижу свой MBean. 
Что еще нужно сделать, чтобы аннотированные MBeans отображались в VisualVM?
Спасибо.