tstuber commented on issue #2925:
URL: https://github.com/apache/camel-quarkus/issues/2925#issuecomment-884966370


   I just realized that I could use the system properties (see: 
https://github.com/aws/aws-sdk-java-v2/issues/751#issuecomment-429384558). And 
that works. Its actually simple and clean that way.
   
   My code looks now like:
   ```
           from(aws2S3("{{bucketName}}").delay(5000L))
                   .log("body received: ${body}");
   ```
   
   ```
   # S3 Component
   bucketName=my-bucket
   camel.component.aws2-s3.region=eu-central-1
   camel.component.aws2-s3.useDefaultCredentialsProvider=true
   camel.component.aws2-s3.deleteAfterRead=false
   camel.component.aws2-s3.fileName=my/path/key
   ```
   
   And I start the project locally with `./mvnw clean compile quarkus:dev 
-Dhttp.proxyHost=localhost -Dhttp.proxyPort=3100-Dhttp.proxyScheme=http`


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