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


##########
artemis-protocols/artemis-amqp-protocol/src/main/java/org/apache/activemq/artemis/protocol/amqp/connect/mirror/AMQPMirrorControllerTarget.java:
##########
@@ -201,12 +219,31 @@ public void flow() {
       creditRunnable.run();
    }
 
+
    @Override
    protected void actualDelivery(Message message, Delivery delivery, 
DeliveryAnnotations deliveryAnnotations, Receiver receiver, Transaction tx) {
       recoverContext();
+
+
+      
OperationContextImpl.getContext().setSyncReplication(configuration.isMirrorReplicaSync());

Review Comment:
   so I don't think it needs.. although I will set the syncReplication in the 
recoverContext as it would be more obvious



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to