Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
On a broker with multicastPrefix set to emulate the standard STOMP destinations, I am sending messages (using a STOMP producer) to /topic/test when there are no consumers.
The "number of messages" attributes (both MessageCount and NumberOfMessages) stay at 0. FWIW, they get incremented when using a queue instead of a topic.
This is not really a bug since these attributes are documented as
- MessageCount: number of messages added to all the queues for this address
- NumberOfMessages: the sum of messages on queue(s), including messages in delivery
For monitoring purposes, I want to track the number of messages received by a topic, even with no consumers (so no queues) attached. The goal is to get the incoming message rate.
Could one or more JMX attributes be added to keep track of all received messages?
Note that this is tricky because, with the current implementation, both /topic/test and /queue/test use the same test address. Since these two destinations are different (see also ARTEMIS-1794), they should get different counters for incoming messages.
Attachments
Issue Links
- duplicates
-
ARTEMIS-1961 Track routed and unrouted messages sent to an address
- Closed