Repository: camel Updated Branches: refs/heads/master b0c2d2bd8 -> d59379c72
Added example to AWS S3 docs. Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/d59379c7 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/d59379c7 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/d59379c7 Branch: refs/heads/master Commit: d59379c72b86b54680613cdd52c35edacb3c45e0 Parents: b0c2d2b Author: Henryk Konsek <[email protected]> Authored: Wed Oct 19 16:11:29 2016 +0200 Committer: Henryk Konsek <[email protected]> Committed: Wed Oct 19 16:11:29 2016 +0200 ---------------------------------------------------------------------- components/camel-aws/src/main/docs/aws-s3-component.adoc | 9 +++++++++ 1 file changed, 9 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/d59379c7/components/camel-aws/src/main/docs/aws-s3-component.adoc ---------------------------------------------------------------------- diff --git a/components/camel-aws/src/main/docs/aws-s3-component.adoc b/components/camel-aws/src/main/docs/aws-s3-component.adoc index 8c2a106..c5f5143 100644 --- a/components/camel-aws/src/main/docs/aws-s3-component.adoc +++ b/components/camel-aws/src/main/docs/aws-s3-component.adoc @@ -26,6 +26,15 @@ The bucket will be created if it don't already exists. + You can append query options to the URI in the following format, ?options=value&option2=value&... +For example in order to read file `hello.txt` from bucket `helloBucket`, use the following snippet: + +[source,java] +-------------------------------------------------------------------------------- +from("aws-s3:helloBucket?accessKey=yourAccessKey&secretKey=yourSecretKey&prefix=hello.txt") + .to("file:/var/downloaded"); +-------------------------------------------------------------------------------- + + [[AWS-S3-URIOptions]] URI Options ^^^^^^^^^^^
