ARTEMIS-5607 Support disabling JMX notifications#6278
ARTEMIS-5607 Support disabling JMX notifications#6278clebertsuconic merged 1 commit intoapache:mainfrom
Conversation
|
|
@hyperxpro, this looks good overall. Nice work! That said, there are a few items that need attention:
|
|
Regarding the name |
|
I guess the only thing missing is the commit with the JIRA id? and a test? @hyperxpro let me know if you can do? if you can't just let me know and I will do it. for the JIRA ID you amended the title of the PR, but not the git commit itself. You will need to amend it. |
ad5cab6 to
8cee9b5
Compare
|
@hyperxpro please type the following before you make any further changes: git pull --rebase ARTEMIS-5607 I amended the commit on your branch (It's a feature on github that I can change branch) |
|
@clebertsuconic @jbertram PTAL, aligned everything as requested. :) |
|
I will run my private CI with the complete testsuite. and if everything is good I will merge this. thank you. |
|
I added an additional commit to your branch (a test on broker properties). |
d31a155 to
7a8786c
Compare
|
I will add this to releases.adoc |
|
I meant versions.adoc |
|
@hyperxpro thank you so much for this contribution. |
Motivation:
JMX notifications 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-enabledboolean configuration property (default true) to allow users to disable the mirroring of management notifications as JMX notifications. When set to false, theNotificationBroadcasterSupportinManagementServiceImplis not instantiated, and all JMX notification methods in ActiveMQServerControlImpl short-circuit, eliminating the overhead.Result:
Fixes ARTEMIS-5607