28.5.2. Core Messages Notifications
HornetQ defines a management notification address. Core queues can be bound to this address so that clients will receive management notifications as core messages.
A core client which wants to receive management notifications must create a core queue bound to the management notification address. It can then receive the notifications from its queue.
Notification messages are regular core messages with additional properties corresponding to the notification (its type, when it occurred, the resources which were concerned, and so on).
Since notifications are regular core messages, it is possible to use message selectors to filter out notifications and receive only a subset of all the notifications emitted by the server.
28.5.2.1. Configuring The Core Management Notification Address
The management notification address to receive management notifications is configured in
<JBOSS_HOME>/jboss-as/server/<PROFILE>/deploy/hornetq/hornetq-configuration.xml
:
<management-notification-address>hornetq.notifications</management-notification-address>
By default, the address is
hornetq.notifications
.