Producer count on a queue is not tracked. This is because many (most?)
producers are not actually tied to a specific endpoint like consumers are.
They are anonymous.

Take this method [1] from javax.jms.JMSProducer for example. Using this
method the producer can send a message to any destination it wants. The
destination can change for every message it sends.

Other APIs and protocols have similar behavior. STOMP, for example, doesn't
even have producers per se. A client just sends a MESSAGE frame wherever it
wants.

Due to this there is not really a meaningful way to track a "producer
count" metric.


Justin

[1]
https://docs.oracle.com/javaee/7/api/javax/jms/JMSProducer.html#send-javax.jms.Destination-java.lang.String-

On Fri, Aug 27, 2021 at 8:44 AM foo bar <statuario...@gmail.com> wrote:

> Hello,
>
> We use ArtemisMQ version 2.15. We could not seem to find a metric that has
> a count of the number of producers writing to a queue. Something like
> "Produce Count". Is this metric made available?
>
> Thanks
>

Reply via email to