You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/04/05 14:44:00 UTC

[GitHub] [camel-quarkus] aldettinger commented on a diff in pull request #3699: Test Azure Blob with autowiredEnabled=false

aldettinger commented on code in PR #3699:
URL: https://github.com/apache/camel-quarkus/pull/3699#discussion_r842873295


##########
integration-test-groups/azure/azure-storage-blob/src/main/java/org/apache/camel/quarkus/component/azure/storage/blob/it/AzureStorageBlobProducers.java:
##########
@@ -46,4 +47,11 @@ public BlobServiceClient createBlobClient() throws Exception {
                 .httpLogOptions(new HttpLogOptions().setLogLevel(HttpLogDetailLevel.BODY_AND_HEADERS).setPrettyPrintBody(true))
                 .buildClient();
     }
+
+    @Named("azure-storage-blob-managed-client")
+    public BlobComponent azureBlobComponentWithManagedClient() {
+        BlobComponent component = new BlobComponent();
+        component.setAutowiredEnabled(false);

Review Comment:
   Out of curiosity. We need both `component.setAutowiredEnabled(false);` on the component and `autowiredEnabled=false` on the endpoint uri ? Or maybe only one of them would be sufficient ?



-- 
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-unsubscribe@camel.apache.org

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