Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Messages getting sent to DLQ from an OpenWire client leaves incorrect queue metrics behind. "DeliveringSize"
"DurableDeliveringSize"
"DurablePersistentSize"
"PersistentSize"
All metrics above end up with negative values, even if the consumers are later disconnected or if the messages are retried and successfully consumed.
I am able to reproduce this easily with an Artemis broker running "out-of-the-box"-config and using the following clients:
https://github.com/erik-wramner/JmsTools (AmqJmsConsumer.jar and AmqJmsProducer.jar)
Example:
# java -jar shaded-jars/AmqJmsProducer.jar -url "tcp://localhost:61616" -user USER -pw PASSWORD -queue TEST -count 100
# java -jar shaded-jars/AmqJmsConsumer.jar -url "tcp://localhost:61616" -user USER -pw PASSWORD -queue TEST -count 1 -rollback 100 -t 10
Using Artemis clients from the same tools results in no such issue. I am seeing the issue with other OpenWire clients also
Br,
Anton
Attachments
Issue Links
- links to