This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch camel-4.0.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-4.0.x by this push:
new ae9c1cfbced Fixed example in aws-ddb docs. Thanks to Hector Junior for
spotting this.
ae9c1cfbced is described below
commit ae9c1cfbced05dfabc114d62c85a82d8762acec7
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 7a64d90d849..de233190d78 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
@@ -178,7 +178,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");
--------------------------------------------------------------------------------