We have seen in the previous chapter how to push/read messages in HornetQ using JMS or the core API. But apart from these two basic operations we have not seen any other interaction.
If you are reading this book you are probably planning to adopt HornetQ because you need to manage lots of messages/queues in a fast-updating environment. For example, counting how many messages there are in a queue is another simple task that overpasses the knowledge that we have.
This chapter is devoted to illustrating how it is possible to control the state and the behavior of the objects of a HornetQ server.
This chapter will cover the following topics:
Managing HornetQ: In this topic we will see what are the core APIs devoted for monitoring purposes
Interacting using JMS: In this topic we will see the JMS counterpart of the monitoring API
Managing HornetQ using JMX: In this topic we will use the standard management API provided by the JDK to do the same thing
Each of these points...