neoxu9999 commented on a change in pull request #6944:
URL: https://github.com/apache/camel/pull/6944#discussion_r807547670



##########
File path: 
components/camel-aws/camel-aws2-ddb/src/main/docs/aws2-ddb-component.adoc
##########
@@ -266,8 +266,29 @@ URI:
 
 [source,java]
 ----------------------------------------------------
-from("direct:start")
-.to("aws2-ddb://domainName?amazonDDBClient=#client");
+public class MyRouteBuilder extends RouteBuilder {
+
+    private String accessKey = "myaccessKey";
+    private String secretKey = "secretKey";
+
+    @Override
+    public void setCamelContext(CamelContext camelContext) {

Review comment:
       Thanks for the advice. 
   I changed it to register the aws client in the configure()
   
   ` getCamelContext().getRegistry().bind("client", client);`




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to