Github user clebertsuconic commented on the issue: https://github.com/apache/activemq-artemis/pull/1832 @michaelandrepearce I think the logic should have been updated on QueueImpl for the exclusive consumer... You should just had the pos always 0. or have a different logic without using counters at all. The code became non consistent. the pos increases but then there is a statement to always get position 0 if exclusive.
---