Show Table of Contents
2.9. Applications that use management APIs
JBoss Messaging exposes its management API through MBean interfaces. HornetQ includes a number of different management APIs (see Chapter 28, Management for details).
While JBoss Messaging management APIs are accessed via JMX, HornetQ provides access to its management APIs through:
- JMX
- JMX is the standard method of managing Java applications.
- Core API
- Management operations are sent to the HornetQ server using Core messages.
- JMS API
- Management operations are sent to the HornetQ server using JMS messages
The same functionality can be achieved through all three management methods.
The following table lists the JBoss Messaging management Objects alongside their HornetQ JMX counterparts. For the other management APIs available in HornetQ, see Chapter 28, Management.
Table 2.7. JBoss Messaging and HornetQ Management Object API Mappings
| org.jboss.jms.server. Class | org.hornetq.api.jms.management. Class |
|---|---|
ServerPeer | JMSServerControl |
connectionfactory.ConnectionFactory | ConnectionFactoryControl |
destination.QueueService | JMSQueueControl |
destination.TopicService | TopicControl |
Note
Some JBoss Messaging MBeans have no equivalent in HornetQ; for example, there is no HornetQ equivalent for
JDBCPersistenceManagerService because HornetQ does not require a datasource as JBoss Messaging does.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.