clebertsuconic commented on code in PR #4827:
URL: https://github.com/apache/activemq-artemis/pull/4827#discussion_r1499917788


##########
artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/connect/mirror/AMQPMirrorControllerSource.java:
##########
@@ -281,6 +300,15 @@ public void sendMessage(Transaction tx, Message message, 
RoutingContext context)
             return;
          }
 
+         if (snfQueue.getPagingStore().page(message, tx, pagedRouteContext, 
this::copyMessageForPaging)) {
+            return;
+         }

Review Comment:
   I'm adding an option to enforce a certain page policy. When sync = true, I'm 
enforcing BLOCK, and when sync = false, I'm enforcing PAGE. (No drop or fail 
ever allowed on mirroring).
   
   And if sync we must not page otherwise the CompletionContext is lost through 
paging.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to