MBean of Hornetq is not exposed in WildFly

757 views Asked by At

Although here it is described that JMX is enabled by default in HornetQ, I do not see any MBeans in jconsole, after connectin to the process of WildFly. What do I miss?

1

There are 1 answers

0
V G On BEST ANSWER

After backup-ing, edit your server config XML file (e.g standalone-full.xml) and add the jmx-management-enabled XML element, as described here for disabling JMX:

    .......
    <subsystem xmlns="urn:jboss:domain:messaging:2.0">
        <hornetq-server>
             <!-- next line is to be added -->
             <jmx-management-enabled>true</jmx-management-enabled>
             ...........
        </hornetq-server>
    ...........

After that restart WildFly.