davsclaus commented on code in PR #9592:
URL: https://github.com/apache/camel/pull/9592#discussion_r1144579567


##########
components/camel-azure/camel-azure-servicebus/src/main/java/org/apache/camel/component/azure/servicebus/client/ServiceBusClientFactory.java:
##########
@@ -79,9 +79,7 @@ private static 
ServiceBusClientBuilder.ServiceBusReceiverClientBuilder createBas
             final ServiceBusClientBuilder busClientBuilder, final 
ServiceBusConfiguration configuration) {
         final ServiceBusClientBuilder.ServiceBusReceiverClientBuilder 
receiverClientBuilder = busClientBuilder.receiver();
 
-        if (configuration.isDisableAutoComplete()) {
-            receiverClientBuilder.disableAutoComplete();
-        }
+        receiverClientBuilder.disableAutoComplete();

Review Comment:
   Could you add a code comment here why this is disabled - eg that you take 
hands on commit / rollback in the consumer manually



-- 
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: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to