17.4 Summary
- Most Actuator endpoints are available as MBeans that can be consumed using any JMX client.
- Spring automatically enables JMX for monitoring beans in the Spring application context.
- Spring beans can be exposed as MBeans by annotating them with
@ManagedResource. Their methods and properties can be exposed as managed operations and attributes by annotating the bean class with@ManagedOperationand@ManagedAttribute. - Spring beans can publish notifications to JMX clients using
NotificationPublisher.
