This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch camel-4.4.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-4.4.x by this push:
new 6a657eb382c Fixed example in aws-ddb docs. Thanks to Hector Junior for
spotting this.
6a657eb382c is described below
commit 6a657eb382c103d98b0cb74139457ea915c0c692
Author: Claus Ibsen <[email protected]>
AuthorDate: Sun Feb 18 11:58:37 2024 +0100
Fixed example in aws-ddb docs. Thanks to Hector Junior for spotting this.
---
.../camel-aws/camel-aws2-ddb/src/main/docs/aws2-ddb-component.adoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/components/camel-aws/camel-aws2-ddb/src/main/docs/aws2-ddb-component.adoc
b/components/camel-aws/camel-aws2-ddb/src/main/docs/aws2-ddb-component.adoc
index 471935fc8ab..b319d86a2fd 100644
--- a/components/camel-aws/camel-aws2-ddb/src/main/docs/aws2-ddb-component.adoc
+++ b/components/camel-aws/camel-aws2-ddb/src/main/docs/aws2-ddb-component.adoc
@@ -179,7 +179,7 @@ keyMap.put("sortKey",
AttributeValue.builder().s("1001").build());
from("direct:start")
.setHeader(Ddb2Constants.OPERATION, constant(Ddb2Operations.UpdateItem))
- .setHeader(Ddb2Constants.ITEM, constant(attributeMap))
+ .setHeader(Ddb2Constants.UPDATE_VALUES, constant(attributeMap))
.setHeader(Ddb2Constants.KEY, constant(keyMap))
.to("aws2-ddb://" + tableName + "?amazonDDBClient=#client");
--------------------------------------------------------------------------------