apache-camelapache-camel-aws

Apache Camel's aws-s3 component does not recognize parameter delimiter


I try to apply prefix and delimiter for my aws-s3 consumer endpoint. For some reason delimiter parameter is not recognized:

org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: aws-s3://somebucketname?accessKey=RAW(xxxxxx)&delimiter=%2F&prefix=somePrefix&secretKey=RAW(xxxxx) due to: There are 1 parameters that couldn't be set on the endpoint. Check the uri if the parameters are spelt correctly and that they are properties of the endpoint. Unknown parameters=[{delimiter=/}]

I thought that maybe adjusting &delimiter=RAW(/) would help, but I have the same result:

Unknown parameters=[{delimiter=/}]

Solution

  • Parameter delimiter is available since Apache Camel 3.0. The website documentation is by default switched to latest version. You can switch to older versions with selectbox in top right corner. For 2.x is aws-s3 documentation here https://camel.apache.org/components/2.x/aws-s3-component.html