[ 
https://issues.apache.org/jira/browse/ARTEMIS-3646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17487234#comment-17487234
 ] 

ASF subversion and git services commented on ARTEMIS-3646:
----------------------------------------------------------

Commit 263b7237261640f31fd851a449c725e1aab8b33a in activemq-artemis's branch 
refs/heads/main from AntonRoskvist
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=263b723 ]

ARTEMIS-3646 - OpenWire, Fix overflowing prefetch and incorrect metrics for 
messages sent to DLQ


> OpenWire clients leave incorrect queue metrics when messages are sent to DLQ
> ----------------------------------------------------------------------------
>
>                 Key: ARTEMIS-3646
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3646
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Anton Roskvist
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {color:#1d1c1d}Messages getting sent to DLQ from an OpenWire client leaves 
> incorrect queue metrics behind. {color}{color:#1d1c1d}"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: 
> {color}
> {code:java}
> # java -jar shaded-jars/AmqJmsProducer.jar -url "tcp://localhost:61616" -user 
> USER -pw PASSWORD -queue TEST -count 100{code}
> {code:java}
> # java -jar shaded-jars/AmqJmsConsumer.jar -url "tcp://localhost:61616" -user 
> USER -pw PASSWORD -queue TEST -count 1 -rollback 100 -t 10{code}
> {color:#1d1c1d}
> Using Artemis clients from the same tools results in no such issue. I am 
> seeing the issue with other OpenWire clients also
> Br,{color}
> {color:#1d1c1d}Anton{color}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to