AWS 2 DynamoDB
JVM since1.0.0 Native since1.0.0
Store and retrieve data from AWS DynamoDB service or receive messages from AWS DynamoDB Stream using AWS SDK version 2.x.
What’s inside
-
AWS DynamoDB component, URI syntax:
aws2-ddb:tableName
-
AWS DynamoDB Streams component, URI syntax:
aws2-ddbstream:tableName
Please refer to the above links 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-ddb</artifactId>
</dependency>
Check the User guide for more information about writing Camel Quarkus applications.
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.
Additional Camel Quarkus configuration
Optional integration with Quarkus Amazon DynamoDB
If desired, it is possible to use the Quarkus Amazon DynamoDB Client extension in conjunction with Camel Quarkus AWS2 DDB. Note that this optional and not at all mandatory. Follow the documentation with some caveats.
-
The Apache client type has to be selected by configuring the following property.
quarkus.dynamodb.sync-client.type=apache
-
The
DynamoDbClient
has to be injected somewhere in the application. This triggers its creation so that the Camel component can discover it.import software.amazon.awssdk.services.dynamodb.DynamoDbClient; @Inject DynamoDbClient dynamoDB;