ActiveMQ supports advisory messages or advisories which are added to a standard topic when something happens in ActiveMQ, for example, when a message is consumed or if a message is discarded.
Advisories can be read like any other topic. The following advisories can be useful to monitor:
sendAdvisoryIfNoConsumers(for the node events, this advisory is not sent because events are persistent)advisoryForSlowConsumersadvisdoryForFastProducersadvisoryForDiscardingMessagesadvisoryWhenFull
The advisories can be configured in the activemq.xml file as follows:
<policyEntry topic="VirtualTopic.alfresco.repo.events.nodes" advisoryForDelivery="true"
advisoryForConsumed="true" advisoryForSlowConsumers="true" sendAdvisoryIfNoConsumers="true"
advisoryForFastProducers="true">
For more information, see Handling Advisory Messages.