AWS 2 S3 Storage Service
JVM since1.0.0 Native since1.0.0
Store and retrieve objects from AWS S3 Storage Service.
What’s inside
-
AWS S3 Storage Service component, URI syntax:
aws2-s3://bucketNameOrArn
Please refer to the above link for usage and configuration details.
Maven coordinates
Or add the coordinates to your existing project:
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-aws2-s3</artifactId>
</dependency> Check the User guide for more information about writing Camel Quarkus applications.
Usage
Optional aws-crt dependency
The extension does not depend on software.amazon.awssdk.crt:aws-crt. The AWS SDK only needs it for features implemented in the AWS Common Runtime (CRT), such as the CRC64NVME and XXHASH* checksum algorithms. If you use them, add the dependency to your application. Its version is managed by the Camel Quarkus BOM:
<dependency>
<groupId>software.amazon.awssdk.crt</groupId>
<artifactId>aws-crt</artifactId>
</dependency> CRT-based checksum algorithms are supported in JVM mode only. Without aws-crt, requesting one fails with an error asking you to add the dependency.
You can still read objects that carry a CRC64NVME checksum, which Amazon S3 computes by default for new objects, without aws-crt. The SDK then validates the response with another checksum that the response includes, or skips the validation.
SSL in native mode
This extension auto-enables SSL support in native mode. Hence you do not need to add quarkus.ssl.native=true to your application.properties yourself. See also Quarkus SSL guide.