This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 23ec2df48ce Fixed example in aws-ddb docs. Thanks to Hector Junior for 
spotting this.
23ec2df48ce is described below

commit 23ec2df48ce02894a6be87c1b9a723e85ba16346
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");
 
--------------------------------------------------------------------------------

Reply via email to