You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "vladimirfx (via GitHub)" <gi...@apache.org> on 2023/04/13 07:35:41 UTC

[GitHub] [camel-quarkus] vladimirfx opened a new issue, #4770: [camel-quarkus-aws2-s3] Support path style access buckets

vladimirfx opened a new issue, #4770:
URL: https://github.com/apache/camel-quarkus/issues/4770

   We actively use internal S3 storage which can't be accessed with domain-style buckets. Please provide `path-style-access` configuration option:
   
   ```yaml
   camel:
     component:
       aws2-s3:
         path-style-access: 'true'
   #  ....
   ```


-- 
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.apache.org

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


[GitHub] [camel-quarkus] vladimirfx commented on issue #4770: [camel-quarkus-aws2-s3] Support path style access buckets

Posted by "vladimirfx (via GitHub)" <gi...@apache.org>.
vladimirfx commented on issue #4770:
URL: https://github.com/apache/camel-quarkus/issues/4770#issuecomment-1506933963

   Unfortunely it does not work out of the box:
   
   ```log
   java.lang.RuntimeException: Failed to start quarkus
   java.lang.RuntimeException: java.lang.RuntimeException: Failed to start quarkus
   	at io.quarkus.test.junit.QuarkusTestExtension.throwBootFailureException(QuarkusTestExtension.java:625)
   	at io.quarkus.test.junit.QuarkusTestExtension.interceptTestClassConstructor(QuarkusTestExtension.java:696)
   	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
   	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
   	at org.junit.jupiter.api.extension.InvocationInterceptor.interceptTestClassConstructor(InvocationInterceptor.java:73)
   	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
   	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
   	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
   	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
   	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
   	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
   	at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:62)
   	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeTestClassConstructor(ClassBasedTestDescriptor.java:363)
   	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.instantiateTestClass(ClassBasedTestDescriptor.java:310)
   	at org.junit.jupiter.engine.descriptor.ClassTestDescriptor.instantiateTestClass(ClassTestDescriptor.java:79)
   	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.instantiateAndPostProcessTestInstance(ClassBasedTestDescriptor.java:286)
   	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$4(ClassBasedTestDescriptor.java:278)
   	at java.base/java.util.Optional.orElseGet(Optional.java:364)
   	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$testInstancesProvider$5(ClassBasedTestDescriptor.java:277)
   	at org.junit.jupiter.engine.execution.TestInstancesProvider.getTestInstances(TestInstancesProvider.java:31)
   	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$prepare$0(TestMethodTestDescriptor.java:105)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:104)
   	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.prepare(TestMethodTestDescriptor.java:68)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$prepare$2(NodeTestTask.java:123)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.prepare(NodeTestTask.java:123)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:90)
   	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
   	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
   	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
   	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
   	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
   	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
   	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
   	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
   	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
   	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:147)
   	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:127)
   	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:90)
   	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:55)
   	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:102)
   	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:54)
   	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
   	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
   	at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
   	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.processAllTestClasses(JUnitPlatformTestClassProcessor.java:110)
   	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.access$000(JUnitPlatformTestClassProcessor.java:90)
   	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.stop(JUnitPlatformTestClassProcessor.java:85)
   	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.stop(SuiteTestClassProcessor.java:62)
   	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
   	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
   	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
   	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
   	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
   	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:94)
   	at jdk.proxy1/jdk.proxy1.$Proxy2.stop(Unknown Source)
   	at org.gradle.api.internal.tasks.testing.worker.TestWorker$3.run(TestWorker.java:193)
   	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:129)
   	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:100)
   	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:60)
   	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
   	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:113)
   	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:65)
   	at worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
   	at worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
   Caused by: java.lang.RuntimeException: Failed to start quarkus
   	at io.quarkus.runner.ApplicationImpl.doStart(Unknown Source)
   	at io.quarkus.runtime.Application.start(Application.java:101)
   	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
   	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
   	at io.quarkus.runner.bootstrap.StartupActionImpl.run(StartupActionImpl.java:253)
   	at io.quarkus.test.junit.QuarkusTestExtension.doJavaStart(QuarkusTestExtension.java:250)
   	at io.quarkus.test.junit.QuarkusTestExtension.ensureStarted(QuarkusTestExtension.java:592)
   	at io.quarkus.test.junit.QuarkusTestExtension.beforeAll(QuarkusTestExtension.java:640)
   	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.lambda$invokeBeforeAllCallbacks$12(ClassBasedTestDescriptor.java:395)
   	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
   	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.invokeBeforeAllCallbacks(ClassBasedTestDescriptor.java:395)
   	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.before(ClassBasedTestDescriptor.java:211)
   	at org.junit.jupiter.engine.descriptor.ClassBasedTestDescriptor.before(ClassBasedTestDescriptor.java:84)
   	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:148)
   	... 51 more
   Caused by: java.lang.RuntimeException: java.lang.RuntimeException: org.apache.camel.FailedToStartRouteException: Failed to start route S3DataImport because of null
   	at org.apache.camel.quarkus.core.CamelBootstrapRecorder.start(CamelBootstrapRecorder.java:47)
   	at io.quarkus.deployment.steps.CamelBootstrapProcessor$boot173480958.deploy_0(Unknown Source)
   	at io.quarkus.deployment.steps.CamelBootstrapProcessor$boot173480958.deploy(Unknown Source)
   	... 67 more
   Caused by: java.lang.RuntimeException: org.apache.camel.FailedToStartRouteException: Failed to start route S3DataImport because of null
   	at org.apache.camel.quarkus.main.CamelMainRuntime.start(CamelMainRuntime.java:65)
   	at org.apache.camel.quarkus.core.CamelBootstrapRecorder.start(CamelBootstrapRecorder.java:45)
   	... 69 more
   Caused by: org.apache.camel.FailedToStartRouteException: Failed to start route S3DataImport because of null
   	at org.apache.camel.impl.engine.RouteService.setUp(RouteService.java:132)
   	at org.apache.camel.impl.engine.InternalRouteStartupManager.doInitRoutes(InternalRouteStartupManager.java:92)
   	at org.apache.camel.impl.engine.AbstractCamelContext.doInit(AbstractCamelContext.java:3010)
   	at org.apache.camel.quarkus.core.FastCamelContext.doInit(FastCamelContext.java:174)
   	at org.apache.camel.support.service.BaseService.init(BaseService.java:83)
   	at org.apache.camel.impl.engine.AbstractCamelContext.init(AbstractCamelContext.java:2679)
   	at org.apache.camel.support.service.BaseService.start(BaseService.java:111)
   	at org.apache.camel.impl.engine.AbstractCamelContext.start(AbstractCamelContext.java:2698)
   	at org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:262)
   	at org.apache.camel.quarkus.main.CamelMain.doStart(CamelMain.java:94)
   	at org.apache.camel.support.service.BaseService.start(BaseService.java:119)
   	at org.apache.camel.quarkus.main.CamelMain.startEngine(CamelMain.java:140)
   	at org.apache.camel.quarkus.main.CamelMainRuntime.start(CamelMainRuntime.java:49)
   	... 70 more
   Caused by: org.apache.camel.RuntimeCamelException: java.lang.IllegalStateException: The S3Client is required but has not been detected/configured.
   	at org.apache.camel.RuntimeCamelException.wrapRuntimeCamelException(RuntimeCamelException.java:51)
   	at org.apache.camel.support.ChildServiceSupport.start(ChildServiceSupport.java:67)
   	at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:113)
   	at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:130)
   	at org.apache.camel.impl.engine.DefaultChannel.doStart(DefaultChannel.java:126)
   	at org.apache.camel.support.service.BaseService.start(BaseService.java:119)
   	at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:113)
   	at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:116)
   	at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:130)
   	at org.apache.camel.processor.Pipeline.doStart(Pipeline.java:207)
   	at org.apache.camel.support.service.BaseService.start(BaseService.java:119)
   	at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:113)
   	at org.apache.camel.support.processor.DelegateAsyncProcessor.doStart(DelegateAsyncProcessor.java:89)
   	at org.apache.camel.processor.FilterProcessor.doStart(FilterProcessor.java:150)
   	at org.apache.camel.support.service.BaseService.start(BaseService.java:119)
   	at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:113)
   	at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:130)
   	at org.apache.camel.processor.errorhandler.RedeliveryErrorHandler.doStart(RedeliveryErrorHandler.java:1670)
   	at org.apache.camel.support.ChildServiceSupport.start(ChildServiceSupport.java:60)
   	at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:113)
   	at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:130)
   	at org.apache.camel.impl.engine.DefaultChannel.doStart(DefaultChannel.java:126)
   	at org.apache.camel.support.service.BaseService.start(BaseService.java:119)
   	at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:113)
   	at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:130)
   	at org.apache.camel.processor.errorhandler.RedeliveryErrorHandler.doStart(RedeliveryErrorHandler.java:1670)
   	at org.apache.camel.support.ChildServiceSupport.start(ChildServiceSupport.java:60)
   	at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:113)
   	at org.apache.camel.support.processor.DelegateAsyncProcessor.doStart(DelegateAsyncProcessor.java:89)
   	at org.apache.camel.support.service.BaseService.start(BaseService.java:119)
   	at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:113)
   	at org.apache.camel.processor.MulticastProcessor.wrapInErrorHandler(MulticastProcessor.java:1029)
   	at org.apache.camel.processor.MulticastProcessor.doInit(MulticastProcessor.java:283)
   	at org.apache.camel.processor.Splitter.doInit(Splitter.java:106)
   	at org.apache.camel.support.service.BaseService.init(BaseService.java:83)
   	at org.apache.camel.support.service.ServiceHelper.initService(ServiceHelper.java:84)
   	at org.apache.camel.impl.engine.RouteService.initChildServices(RouteService.java:375)
   	at org.apache.camel.impl.engine.RouteService.doSetup(RouteService.java:175)
   	at org.apache.camel.impl.engine.RouteService.setUp(RouteService.java:130)
   	... 82 more
   Caused by: java.lang.IllegalStateException: The S3Client is required but has not been detected/configured.
   	at io.quarkus.amazon.s3.runtime.S3ClientProducer.client(S3ClientProducer.java:34)
   	at io.quarkus.amazon.s3.runtime.S3ClientProducer_ProducerMethod_client_c3e44358d8bba829ee2f6ae63d6f9ef0b4609f3a_Bean.create(Unknown Source)
   	at io.quarkus.amazon.s3.runtime.S3ClientProducer_ProducerMethod_client_c3e44358d8bba829ee2f6ae63d6f9ef0b4609f3a_Bean.create(Unknown Source)
   	at io.quarkus.arc.impl.AbstractSharedContext.createInstanceHandle(AbstractSharedContext.java:113)
   	at io.quarkus.arc.impl.AbstractSharedContext$1.get(AbstractSharedContext.java:37)
   	at io.quarkus.arc.impl.AbstractSharedContext$1.get(AbstractSharedContext.java:34)
   	at io.quarkus.arc.impl.LazyValue.get(LazyValue.java:26)
   	at io.quarkus.arc.impl.ComputingCache.computeIfAbsent(ComputingCache.java:69)
   	at io.quarkus.arc.impl.AbstractSharedContext.get(AbstractSharedContext.java:34)
   	at io.quarkus.arc.impl.ClientProxies.getApplicationScopedDelegate(ClientProxies.java:21)
   	at software.amazon.awssdk.services.s3.S3ClientProducer_ProducerMethod_client_c3e44358d8bba829ee2f6ae63d6f9ef0b4609f3a_ClientProxy.arc$delegate(Unknown Source)
   	at software.amazon.awssdk.services.s3.S3ClientProducer_ProducerMethod_client_c3e44358d8bba829ee2f6ae63d6f9ef0b4609f3a_ClientProxy.headBucket(Unknown Source)
   	at org.apache.camel.component.aws2.s3.AWS2S3Endpoint.doStart(AWS2S3Endpoint.java:102)
   	at org.apache.camel.support.service.BaseService.start(BaseService.java:119)
   	at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:113)
   	at org.apache.camel.processor.SendProcessor.doStart(SendProcessor.java:242)
   	at org.apache.camel.support.service.BaseService.start(BaseService.java:119)
   	at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:113)
   	at org.apache.camel.support.service.ServiceHelper.startService(ServiceHelper.java:130)
   	at org.apache.camel.processor.errorhandler.RedeliveryErrorHandler.doStart(RedeliveryErrorHandler.java:1670)
   	at org.apache.camel.support.ChildServiceSupport.start(ChildServiceSupport.java:60)
   	... 119 more
   
   ```
   
   If I inject (useless) S3Client instance in any application class - Camel starts normally and can use provided S3Client.
   
   Shoud I file another issue for that?


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


[GitHub] [camel-quarkus] oscerd commented on issue #4770: [camel-quarkus-aws2-s3] Support path style access buckets

Posted by "oscerd (via GitHub)" <gi...@apache.org>.
oscerd commented on issue #4770:
URL: https://github.com/apache/camel-quarkus/issues/4770#issuecomment-1506961059

   It could go in 3.21.0 and 4.0.0, not on 3.20.x since it's a new option


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


[GitHub] [camel-quarkus] zhfeng commented on issue #4770: [camel-quarkus-aws2-s3] Support path style access buckets

Posted by "zhfeng (via GitHub)" <gi...@apache.org>.
zhfeng commented on issue #4770:
URL: https://github.com/apache/camel-quarkus/issues/4770#issuecomment-1506948236

   This is a know limitation, please check https://camel.apache.org/camel-quarkus/3.0.x/reference/extensions/aws2-s3.html#extensions-aws2-s3-additional-camel-quarkus-configuration


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


[GitHub] [camel-quarkus] oscerd commented on issue #4770: [camel-quarkus-aws2-s3] Support path style access buckets

Posted by "oscerd (via GitHub)" <gi...@apache.org>.
oscerd commented on issue #4770:
URL: https://github.com/apache/camel-quarkus/issues/4770#issuecomment-1507246925

   Just created this https://issues.apache.org/jira/browse/CAMEL-19266


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


[GitHub] [camel-quarkus] zhfeng commented on issue #4770: [camel-quarkus-aws2-s3] Support path style access buckets

Posted by "zhfeng (via GitHub)" <gi...@apache.org>.
zhfeng commented on issue #4770:
URL: https://github.com/apache/camel-quarkus/issues/4770#issuecomment-1506731095

   Yeah, it can inject `S3Client` automatically. Also we have some integration tests with quarkus aws client, you can check https://github.com/apache/camel-quarkus/tree/main/integration-test-groups/aws2-quarkus-client


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


[GitHub] [camel-quarkus] oscerd commented on issue #4770: [camel-quarkus-aws2-s3] Support path style access buckets

Posted by "oscerd (via GitHub)" <gi...@apache.org>.
oscerd commented on issue #4770:
URL: https://github.com/apache/camel-quarkus/issues/4770#issuecomment-1506960238

   we could add the forcePathStyle to the available options in the camel component.
   https://sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/s3/S3BaseClientBuilder.html#forcePathStyle(java.lang.Boolean


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


[GitHub] [camel-quarkus] vladimirfx commented on issue #4770: [camel-quarkus-aws2-s3] Support path style access buckets

Posted by "vladimirfx (via GitHub)" <gi...@apache.org>.
vladimirfx commented on issue #4770:
URL: https://github.com/apache/camel-quarkus/issues/4770#issuecomment-1506718361

   Ok... So it will be pcked up by Camel S3 component automaticaly and my existing routes proceed work normally?
   
   I've asked because what I see in Camel S3 component - it is configures S3 Client using own configuration section.


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


[GitHub] [camel-quarkus] zhfeng commented on issue #4770: [camel-quarkus-aws2-s3] Support path style access buckets

Posted by "zhfeng (via GitHub)" <gi...@apache.org>.
zhfeng commented on issue #4770:
URL: https://github.com/apache/camel-quarkus/issues/4770#issuecomment-1506692482

   I think you can consider to use `quarkus-amazon-s3`. Add it in your `pom.xml`
   ```
   <dependency>
       <groupId>io.quarkiverse.amazonservices</groupId>
       <artifactId>quarkus-amazon-s3</artifactId>
   </dependency>
   ```
   and use the following in the configuration
   ```yaml
   quarkus:
     s3:
       path-style-access: true
   ```


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


[GitHub] [camel-quarkus] vladimirfx commented on issue #4770: [camel-quarkus-aws2-s3] Support path style access buckets

Posted by "vladimirfx (via GitHub)" <gi...@apache.org>.
vladimirfx commented on issue #4770:
URL: https://github.com/apache/camel-quarkus/issues/4770#issuecomment-1507092279

   > This is a know limitation, please check https://camel.apache.org/camel-quarkus/3.0.x/reference/extensions/aws2-s3.html#extensions-aws2-s3-additional-camel-quarkus-configuration
   
   Thank you - with this workaround routes started successfully.
   
   Did you consider switching to Quarkuverse AWS component as the main and only option (as it has done for the JDBC component)? 
   
   I asked because Quarkuverse AWS components contain important native build adjustments and provide a universal configuration approach (Camel or not).


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