Github user cshannon commented on the issue:
https://github.com/apache/activemq-artemis/pull/2206
I don't think that change can be made. The metrics for the dequeue case on
the send acknowledge in this case can be updated in another runnable (new
thread)
Also, honestly I don't know that it's a great idea to start making this
change everywhere if it only works for a single thread because in the future if
someone refactors something and it no longer is a single thread for the writer
then the metrics will be broken.
---