aldettinger commented on a change in pull request #3458:
URL: https://github.com/apache/camel-quarkus/pull/3458#discussion_r785791751



##########
File path: 
integration-test-groups/aws2-quarkus-client/aws2-s3/src/main/java/org/apache/camel/quarkus/component/aws2/s3/it/Aws2S3QuarkusClientInvoker.java
##########
@@ -16,9 +16,15 @@
  */
 package org.apache.camel.quarkus.component.aws2.s3.it;
 
-import io.quarkus.test.junit.NativeImageTest;
+import javax.enterprise.context.ApplicationScoped;
+import javax.inject.Inject;
 
-@NativeImageTest
-class Aws2S3QuarkusClientIT extends Aws2S3QuarkusClientTest {
+import software.amazon.awssdk.services.s3.S3Client;
+
+@ApplicationScoped
+public class Aws2S3QuarkusClientInvoker {
+
+    @Inject
+    S3Client s3;

Review comment:
       So, we inject the S3Client here. But the class is not @Unremovable as 
stated in the doc 
https://camel.apache.org/camel-quarkus/2.6.x/reference/extensions/aws2-s3.html#_optional_integration_with_quarkus_amazon_s3.
   
   What do you think ?




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