You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "yuebao (JIRA)" <ji...@apache.org> on 2019/01/08 09:13:00 UTC

[jira] [Created] (ARTEMIS-2222) why the position remains unchanged if ignore is set to true

yuebao created ARTEMIS-2222:
-------------------------------

             Summary: why the position remains unchanged if ignore is set to true
                 Key: ARTEMIS-2222
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2222
             Project: ActiveMQ Artemis
          Issue Type: Improvement
            Reporter: yuebao


I am a bit confused about this, When CursorIterator:next is called during queue depage, if ignored is set to true, why the position remains unchanged. 
if (!ignored) {
 position = message.getPosition();
} 
For example, the client sends some messages to the topic subscriber ta (this topic has two subscribers ta and tb), every time tb depage continuous PagePositions that ignored are set to true will be traversed again.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)