AMQ-7490 - Fix JMX regression