lobtx commented on issue #1732:
URL: https://github.com/apache/activemq/issues/1732#issuecomment-6808457680

   Hi @mattrpav, are you still working on this one? If not I'd like to give it 
a try.
   
   I had a look: the dynamic producers (created without destination) are not 
counted because `RegionBroker.addProducer()` skips them when the destination is 
null, so they never reach the destination statistics.
   
   I see two ways to fix it: count them in `TotalProducerCount`, or add a new 
`TotalDynamicProducerCount` attribute and keep `TotalProducerCount` unchanged. 
What do you prefer?
   
   The second option is quite nice if we want to avoid changing the meaning of 
`TotalProducerCount`, but I want to make sure that's really what we want.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to