hyperxpro opened a new pull request, #6278: URL: https://github.com/apache/artemis/pull/6278
Motivation: [JMX notifications](https://docs.oracle.com/en/java/javase/17/docs/api/java.management/javax/management/Notification.html) are rarely used these days yet the broker still mirrors all management notifications as JMX notifications. This is unnecessary overhead in most circumstances so we should allow users to disable them. Modification: Added a new `jmx-notification-enabled` boolean configuration property (default true) to allow users to disable the mirroring of management notifications as JMX notifications. When set to false, the `NotificationBroadcasterSupport` in `ManagementServiceImpl` is not instantiated, and all JMX notification methods in ActiveMQServerControlImpl short-circuit, eliminating the overhead. Result: Fixes [ARTEMIS-5607](https://issues.apache.org/jira/browse/ARTEMIS-5607) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
